ant-design/components/segmented/demo/block.md
MadCcc 3511642337
docs: segmented update (#35171)
* docs: segmented update

* test: fix lint
2022-04-22 12:26:44 +08:00

371 B

order title
10
zh-CN en-US
Block 分段选择器 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']} />
);