mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 22:48:29 +08:00
54b49afd32
close #5359
21 lines
409 B
TypeScript
21 lines
409 B
TypeScript
import React from 'react';
|
|
import Radio from './radio';
|
|
|
|
export interface RadioButtonProps {
|
|
value: string | number;
|
|
style?: React.CSSProperties;
|
|
}
|
|
|
|
export default class RadioButton extends React.Component<RadioButtonProps, any> {
|
|
static __ANT_RADIO_BUTTON = true;
|
|
|
|
static defaultProps = {
|
|
prefixCls: 'ant-radio-button',
|
|
};
|
|
render() {
|
|
return (
|
|
<Radio {...this.props} />
|
|
);
|
|
}
|
|
}
|