mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
fix: Radio.Button type error (#21807)
This commit is contained in:
parent
3eb5e9f908
commit
621df692b3
@ -19,7 +19,7 @@ const RadioButton = (props: RadioButtonProps) => {
|
||||
radioProps.checked = props.value === radioGroupContext.value;
|
||||
radioProps.disabled = props.disabled || radioGroupContext.disabled;
|
||||
}
|
||||
return <Radio prefixCls={prefixCls} {...radioProps} />;
|
||||
return <Radio prefixCls={prefixCls} {...radioProps} type="radio" />;
|
||||
}}
|
||||
</ConfigConsumer>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user