ant-design/components/space/demo/debug.md
2022-05-21 22:14:15 +08:00

709 B

order title debug
99
zh-CN en-US
多样的 Child Diverse Child
true

zh-CN

Debug usage

en-US

Debug usage

import { Button, Popconfirm, Space } from 'antd';
import React from 'react';

const App: React.FC = () => (
  <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>
);

export default App;