lucid-ui
Version:
A UI component library from AppNexus.
28 lines (27 loc) • 1.43 kB
JavaScript
import React from 'react';
import createClass from 'create-react-class';
import { RadioGroupDumb as RadioGroup } from '../../../index';
const style = {
marginRight: '13px',
};
export default createClass({
render() {
return (React.createElement("section", null,
React.createElement(RadioGroup, { name: 'name', selectedIndex: 3, style: {
display: 'inline-flex',
flexDirection: 'column',
} },
React.createElement(RadioGroup.RadioButton, { style: style },
React.createElement(RadioGroup.Label, null, "Captain America")),
React.createElement(RadioGroup.RadioButton, { style: style },
React.createElement(RadioGroup.Label, null, "Iron Man")),
React.createElement(RadioGroup.RadioButton, { style: style },
React.createElement(RadioGroup.Label, null, "Thor")),
React.createElement(RadioGroup.RadioButton, { style: style },
React.createElement(RadioGroup.Label, null, "Hulk")),
React.createElement(RadioGroup.RadioButton, { style: style },
React.createElement(RadioGroup.Label, null, "Black Widow")),
React.createElement(RadioGroup.RadioButton, { style: style },
React.createElement(RadioGroup.Label, null, "Hawkeye")))));
},
});