UNPKG

509 BJavaScriptView Raw
1import React,{Component} from 'react';
2import Radio from './Radio';
3import PropTypes from 'prop-types';
4
5
6const propTypes = {
7 value: PropTypes.oneOfType([
8 PropTypes.string,
9 PropTypes.number
10 ]),
11 style: PropTypes.object
12}
13const defaultProps = {
14 clsPrefix : "u-radio-button"
15}
16
17class RadioButton extends Component{
18
19 render() {
20 return (
21 <Radio {...this.props} />
22 );
23 }
24}
25
26RadioButton.propTypes = propTypes;
27RadioButton.defaultProps = defaultProps;
28export default RadioButton;
\No newline at end of file