mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
9 lines
200 B
TypeScript
9 lines
200 B
TypeScript
import React from 'react';
|
|
import { Segmented } from 'antd';
|
|
|
|
const Demo: React.FC = () => (
|
|
<Segmented options={[123, 456, 'longtext-longtext-longtext-longtext']} block />
|
|
);
|
|
|
|
export default Demo;
|