File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ npm start
6767| ` className ` | string | ` '' ` | 附加 className。 |
6868| ` classNames ` | Partial<Record<'item' \| 'label', string>> | - | 内部插槽的语义化 className。 |
6969| ` defaultValue ` | string \| number | 第一个选项值 | 初始选中值。 |
70- | ` direction ` | ` 'ltr' ` \| ` 'rtl' ` | - | Layout direction. |
70+ | ` direction ` | ` 'ltr' ` \| ` 'rtl' ` | - | 布局方向。 |
7171| ` disabled ` | boolean | false | 禁用所有选项。 |
7272| ` itemRender ` | ` (node: ReactNode, info: { item: SegmentedLabeledOption }) => ReactNode ` | identity | 自定义选项项渲染器。 |
7373| ` motionName ` | string | ` 'thumb-motion' ` | 活动拇指的动画 className。 |
74- | ` name ` | string | - | Radio group name. |
74+ | ` name ` | string | - | 单选组名称。 |
7575| ` onChange ` | ` (value: string \| number) => void ` | - | 当所选值更改时触发。 |
7676| ` options ` | Array<string \| number \| SegmentedLabeledOption> | - | 可用选项,必填。 |
7777| ` prefixCls ` | string | ` 'rc-segmented' ` | className 前缀。 |
You can’t perform that action at this time.
0 commit comments