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