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