-
Notifications
You must be signed in to change notification settings - Fork 732
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
142 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
packages/semi-ui/datePicker/_story/v2/FixedSelectedStatus.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React from 'react'; | ||
import { DatePicker } from '@douyinfe/semi-ui'; | ||
|
||
const App = () => ( | ||
<DatePicker type="dateTime" defaultPickerValue="2022-07-01" /> | ||
); | ||
|
||
export default App; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import React from 'react'; | ||
import { Table } from '@douyinfe/semi-ui'; | ||
|
||
export default function App() { | ||
const columns = [ | ||
{ | ||
title: 'Key', | ||
dataIndex: 'dataKey', | ||
key: 'dataKey', | ||
}, | ||
{ | ||
title: '名称', | ||
dataIndex: 'name', | ||
key: 'name', | ||
width: 200, | ||
}, | ||
{ | ||
title: '数据类型', | ||
dataIndex: 'type', | ||
key: 'type', | ||
width: 400, | ||
}, | ||
]; | ||
const data = [ | ||
{ | ||
key: 99, | ||
dataKey: 99, | ||
name: 'row 99', | ||
children: [], | ||
}, | ||
{ | ||
key: 2, | ||
dataKey: 'text_info', | ||
name: '文本信息', | ||
type: 'Object 对象', | ||
description: '视频的元信息', | ||
default: '无', | ||
children: [ | ||
{ | ||
key: 21, | ||
dataKey: 'title', | ||
name: '视频标题', | ||
type: 'String 字符串', | ||
description: '视频的标题', | ||
default: '无', | ||
}, | ||
], | ||
}, | ||
]; | ||
return <div> | ||
<Table expandIcon={false} defaultExpandAllRows columns={columns} dataSource={data} /> | ||
<Table defaultExpandAllRows columns={columns} dataSource={data} /> | ||
</div>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.