mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 22:48:29 +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;
|