ant-design/components/radio/radioButton.tsx
2017-03-17 17:54:02 +08:00

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} />
);
}
}