afc163
9 years ago
7 changed files with 71 additions and 25 deletions
@ -1,5 +1,7 @@ |
|||
import AntRadio from './radio'; |
|||
import Group from './group'; |
|||
import Button from './radioButton'; |
|||
|
|||
AntRadio.Button = Button; |
|||
AntRadio.Group = Group; |
|||
export default AntRadio; |
|||
|
@ -0,0 +1,17 @@ |
|||
import React from 'react'; |
|||
import AntRadio from './radio'; |
|||
|
|||
const RadioButton = React.createClass({ |
|||
getDefaultProps() { |
|||
return { |
|||
className: 'ant-radio-button' |
|||
}; |
|||
}, |
|||
render() { |
|||
return ( |
|||
<AntRadio {...this.props} /> |
|||
); |
|||
} |
|||
}); |
|||
|
|||
export default RadioButton; |
Loading…
Reference in new issue