import React from 'react'; import { Segmented } from 'antd'; const Demo: React.FC = () => ( <Segmented options={[123, 456, 'longtext-longtext-longtext-longtext']} block /> ); export default Demo;