2020-03-22 11:38:02 +08:00
|
|
|
---
|
|
|
|
order: 99
|
|
|
|
title:
|
|
|
|
zh-CN: 多样的 Child
|
|
|
|
en-US: Diverse Child
|
|
|
|
debug: true
|
|
|
|
---
|
|
|
|
|
|
|
|
## zh-CN
|
|
|
|
|
|
|
|
Debug usage
|
|
|
|
|
|
|
|
## en-US
|
|
|
|
|
|
|
|
Debug usage
|
|
|
|
|
|
|
|
```jsx
|
|
|
|
import { Space, Button, Popconfirm } from 'antd';
|
|
|
|
|
|
|
|
ReactDOM.render(
|
|
|
|
<Space>
|
2020-08-28 11:29:37 +08:00
|
|
|
<>
|
|
|
|
Button
|
|
|
|
<Button>Button</Button>
|
|
|
|
</>
|
2020-03-22 11:38:02 +08:00
|
|
|
Button
|
|
|
|
<Popconfirm title="Are you sure delete this task?" okText="Yes" cancelText="No">
|
|
|
|
<Button>Delete</Button>
|
|
|
|
</Popconfirm>
|
|
|
|
<Popconfirm title="Are you sure delete this task?" okText="Yes" cancelText="No">
|
|
|
|
<Button disabled>Delete</Button>
|
|
|
|
</Popconfirm>
|
|
|
|
{null}
|
|
|
|
{false}
|
|
|
|
{1}
|
|
|
|
Button
|
2020-08-25 16:43:52 +08:00
|
|
|
{null}
|
|
|
|
{undefined}
|
2020-03-22 11:38:02 +08:00
|
|
|
</Space>,
|
|
|
|
mountNode,
|
|
|
|
);
|
|
|
|
```
|