import React from 'react'; import { UserOutlined } from '@ant-design/icons'; import { Avatar, Segmented, Space } from 'antd'; const App: React.FC = () => (
User 1
), value: 'user1', }, { label: (
K
User 2
), value: 'user2', }, { label: (
} />
User 3
), value: 'user3', }, ]} />
Spring
Jan-Mar
), value: 'spring', }, { label: (
Summer
Apr-Jun
), value: 'summer', }, { label: (
Autumn
Jul-Sept
), value: 'autumn', }, { label: (
Winter
Oct-Dec
), value: 'winter', }, ]} />
); export default App;