mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
19 lines
377 B
TypeScript
19 lines
377 B
TypeScript
import * as 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 defaultProps = {
|
|
prefixCls: 'ant-radio-button',
|
|
};
|
|
render() {
|
|
return (
|
|
<Radio {...this.props} />
|
|
);
|
|
}
|
|
}
|