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