<Radio >
demo
const React = require('react');
const ReactDOM = require('react-dom/server');
const Base = require('../base');
const Container = require('../container');
const Row = require('../row');
const Column = require('../column');
const Radio = require('./index.js');
const styles = require('./style.css');
nmodule.exports = ReactDOM.renderToString(
<Base>
<Row>
<Column>
<Radio name='gender' value='female' label='Female' checked={false}/>
<Radio name='gender' value='male' label='Male' checked={true}/>
</Column>
</Row>
</Base>
);
usage
const React = require('react');
const Radio = require('ui/radio');
module.exports = () => {
return (
<Radio name='gender' value='female' label='Female' />
<Radio name='gender' value='male' label='Male' checked/>
);
}