Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 384 Bytes

block.md

File metadata and controls

22 lines (15 loc) · 384 Bytes
order title
1
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';

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

export default Demo;