var Form = rsui.form.Form,
RadioGroup = rsui.input.RadioGroup,
options = ["One", "Two", "Three"];
var component = (
<Form>
<p>
options can be provided as an array of strings
</p>
<RadioGroup label="Click Something" name="simple" options={options} defaultValue="Two"/>
</Form>
);
var Form = rsui.form.Form,
RadioGroup = rsui.input.RadioGroup,
options = [{label: "One", value: "1"}, {label: "Two", value: "2"}, {label: "Three", value: "3"}];
var component = (
<Form>
<p>
options can be provided as an array of strings
</p>
<RadioGroup label="Click Something" name="alternate" options={options} defaultValue="2"/>
</Form>
);