Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (22 sloc) 692 Bytes


See the demo component here


Below, an example of using the Radio component:

import { Radio } from 'mdwrapper';

const Demo = () => (
    <Radio checked name={'gender'} label={'Male'} />
    <Radio name={'gender'} label={'Female'} onChange={e => console.log(e)} />


List of all properties for the Radio component:

Prop Type Default Description
checked boolean false Default Value
disabled boolean false Available State
label string - Label
name string 'default' Reference
onChange function void Change Trigger
You can’t perform that action at this time.