mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-13 04:53:11 +08:00
Table - basic - English translation (#3325)
* Table - basic - English translation Correction, to same as in line with other examplets * Update basic.md * Update basic.md
This commit is contained in:
parent
358308ce87
commit
7156956685
@ -11,7 +11,7 @@ title:
|
|||||||
|
|
||||||
## en-US
|
## en-US
|
||||||
|
|
||||||
Simple table with operations.
|
Simple table with actions.
|
||||||
|
|
||||||
````jsx
|
````jsx
|
||||||
import { Table, Icon } from 'antd';
|
import { Table, Icon } from 'antd';
|
||||||
@ -30,16 +30,16 @@ const columns = [{
|
|||||||
dataIndex: 'address',
|
dataIndex: 'address',
|
||||||
key: 'address',
|
key: 'address',
|
||||||
}, {
|
}, {
|
||||||
title: 'Operation',
|
title: 'Action',
|
||||||
key: 'operation',
|
key: 'action',
|
||||||
render: (text, record) => (
|
render: (text, record) => (
|
||||||
<span>
|
<span>
|
||||||
<a href="#">Operation 一 {record.name}</a>
|
<a href="#">Action 一 {record.name}</a>
|
||||||
<span className="ant-divider" />
|
<span className="ant-divider" />
|
||||||
<a href="#">Next operation</a>
|
<a href="#">Delete</a>
|
||||||
<span className="ant-divider" />
|
<span className="ant-divider" />
|
||||||
<a href="#" className="ant-dropdown-link">
|
<a href="#" className="ant-dropdown-link">
|
||||||
More <Icon type="down" />
|
More actions<Icon type="down" />
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user