ant-design/components/radio/radioButton.tsx
2016-09-21 11:54:53 +08:00

19 lines
372 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 defaultProps = {
prefixCls: 'ant-radio-button',
};
render() {
return (
<Radio {...this.props} />
);
}
}