Skip to content

Commit 7cda44b

Browse files
committed
update site
1 parent b275ada commit 7cda44b

File tree

2 files changed

+0
-74
lines changed

2 files changed

+0
-74
lines changed

components/table/index.en-US.md

-37
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,3 @@
1-
```jsx
2-
const dataSource = [
3-
{
4-
key: '1',
5-
name: 'Mike',
6-
age: 32,
7-
address: '10 Downing Street',
8-
},
9-
{
10-
key: '2',
11-
name: 'John',
12-
age: 42,
13-
address: '10 Downing Street',
14-
},
15-
];
16-
17-
const columns = [
18-
{
19-
title: 'Name',
20-
dataIndex: 'name',
21-
key: 'name',
22-
},
23-
{
24-
title: 'Age',
25-
dataIndex: 'age',
26-
key: 'age',
27-
},
28-
{
29-
title: 'Address',
30-
dataIndex: 'address',
31-
key: 'address',
32-
},
33-
];
34-
35-
<Table dataSource={dataSource} columns={columns} />;
36-
```
37-
381
## API
392

403
### Table

components/table/index.zh-CN.md

-37
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,3 @@
1-
```jsx
2-
const dataSource = [
3-
{
4-
key: '1',
5-
name: '胡彦斌',
6-
age: 32,
7-
address: '西湖区湖底公园1号',
8-
},
9-
{
10-
key: '2',
11-
name: '胡彦祖',
12-
age: 42,
13-
address: '西湖区湖底公园1号',
14-
},
15-
];
16-
17-
const columns = [
18-
{
19-
title: '姓名',
20-
dataIndex: 'name',
21-
key: 'name',
22-
},
23-
{
24-
title: '年龄',
25-
dataIndex: 'age',
26-
key: 'age',
27-
},
28-
{
29-
title: '住址',
30-
dataIndex: 'address',
31-
key: 'address',
32-
},
33-
];
34-
35-
<Table dataSource={dataSource} columns={columns} />;
36-
```
37-
381
## API
392

403
### Table

0 commit comments

Comments
 (0)