mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 20:38:45 +08:00
13 lines
453 B
TypeScript
13 lines
453 B
TypeScript
import React from 'react';
|
|
import { Flex, Segmented } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex gap="small" align="flex-start" 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']} />
|
|
</Flex>
|
|
);
|
|
|
|
export default App;
|