mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
13 lines
393 B
TypeScript
13 lines
393 B
TypeScript
import React from 'react';
|
|
import { Segmented } from 'antd';
|
|
|
|
export default () => (
|
|
<>
|
|
<Segmented size="large" options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
|
<br />
|
|
<Segmented options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
|
<br />
|
|
<Segmented size="small" options={['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly']} />
|
|
</>
|
|
);
|