mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-28 11:08:30 +08:00
284 B
284 B
order | title |
---|---|
2 | 国际化 |
设置 okText
cancelText
以自定义按钮文字。
import { Popconfirm } from 'antd';
ReactDOM.render(
<Popconfirm title="Are you sure?" okText="Yes" cancelText="No">
<a href="#">Delete</a>
</Popconfirm>
, mountNode);