mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
6776bb8916
* docs: update demo * chore: add script * test: fix demo test * docs: convert demos * chore: move script * test: remove react-dom import * chore: update deps * docs: update riddle js * test: fix image test * docs: fix riddle demo
42 lines
654 B
Markdown
42 lines
654 B
Markdown
---
|
|
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';
|
|
|
|
export default () => (
|
|
<Space>
|
|
<>
|
|
Button
|
|
<Button>Button</Button>
|
|
</>
|
|
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
|
|
{null}
|
|
{undefined}
|
|
</Space>
|
|
);
|
|
```
|