mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 04:18:28 +08:00
16 lines
343 B
TypeScript
16 lines
343 B
TypeScript
|
import React from 'react';
|
||
|
import { AppstoreOutlined, BarsOutlined } from '@ant-design/icons';
|
||
|
import { Segmented } from 'antd';
|
||
|
|
||
|
const Demo: React.FC = () => (
|
||
|
<Segmented
|
||
|
vertical
|
||
|
options={[
|
||
|
{ value: 'List', icon: <BarsOutlined /> },
|
||
|
{ value: 'Kanban', icon: <AppstoreOutlined /> },
|
||
|
]}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default Demo;
|