mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +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 />,
|
|
},
|
|
]}
|
|
/>
|
|
);
|