ant-design/components/button/demo/block.tsx
lijianan c35787696b
demo: update demo (#40079)
* demo: update demo

* rerun ci
2023-01-07 23:24:27 +08:00

26 lines
514 B
TypeScript

import React from 'react';
import { Button, Space } from 'antd';
const App: React.FC = () => (
<Space direction="vertical" style={{ width: '100%' }}>
<Button type="primary" block>
Primary
</Button>
<Button block>Default</Button>
<Button type="dashed" block>
Dashed
</Button>
<Button disabled block>
disabled
</Button>
<Button type="text" block>
text
</Button>
<Button type="link" block>
Link
</Button>
</Space>
);
export default App;