You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

371 B

order title
10 [{zh-CN Block 分段选择器} {en-US Block Segmented}]

zh-CN

block 属性使其适合父元素宽度。

en-US

block property will make the Segmented fit to its parent width.

import { Segmented } from 'antd';

export default () => (
  <Segmented block options={[123, 456, 'longtext-longtext-longtext-longtext']} />
);