mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
b9a6b7b578
* demo: update demo * add form * clear * add Select * add * fix style * fix style * fix * revert
13 lines
437 B
TypeScript
13 lines
437 B
TypeScript
import React from 'react';
|
|
import { Segmented, Space } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Space direction="vertical">
|
|
<Segmented size="large" options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
|
<Segmented options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
|
<Segmented size="small" options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
|
</Space>
|
|
);
|
|
|
|
export default App;
|