mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 23:59:12 +08:00
21 lines
394 B
TypeScript
21 lines
394 B
TypeScript
import React from 'react';
|
|
import { Segmented } from 'antd';
|
|
import { AppstoreOutlined, BarsOutlined } from '@ant-design/icons';
|
|
|
|
export default () => (
|
|
<Segmented
|
|
options={[
|
|
{
|
|
label: 'List',
|
|
value: 'List',
|
|
icon: <BarsOutlined />,
|
|
},
|
|
{
|
|
label: 'Kanban',
|
|
value: 'Kanban',
|
|
icon: <AppstoreOutlined />,
|
|
},
|
|
]}
|
|
/>
|
|
);
|