Sha256: 017110029c47db08242d5a3be23af7ad54d298444f498ae10fe3e4cb628c8533
Contents?: true
Size: 1.17 KB
Versions: 2
Compression:
Stored size: 1.17 KB
Contents
import React from 'react' import Radio from '../_radio' import Select from '../../pb_select/_select' import Typeahead from '../../pb_typeahead/_typeahead' import Title from '../../pb_title/_title' const RadioChildren = (props) => { const options = [ { label: 'Orange', value: 'Orange' }, { label: 'Red', value: 'Red' }, { label: 'Green', value: 'Green' }, { label: 'Blue', value: 'Blue' }, ] return ( <div> <Radio label="Select" name="Group1" tabIndex={0} value="Select" {...props} > <Select minWidth="xs" options={options} /> </Radio> <Radio label="Typeahead" name="Group1" tabIndex={0} value="Typeahead" {...props} > <Typeahead minWidth="xs" options={options} /> </Radio> <br /> <Radio defaultChecked={false} label="Typography" name="Group1" value="Typography" {...props} > <Title text="Custom Typography" /> </Radio> </div> ) } export default RadioChildren
Version data entries
2 entries across 2 versions & 2 rubygems