mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 09:49:57 +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;
|