mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
eee3b50727
* feat: support icon only with segmented * fix: lint issue * chore: update * test: fix * test: update snapshot
370 B
370 B
order | title | ||||
---|---|---|---|---|---|
1 |
|
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']} />
);