Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (18 sloc) 590 Bytes

CheckBox

See the demo component here

Usage

Below, an example of using the CheckBox component:

import { CheckBox } from 'mdwrapper';

const Demo = () => (
  <CheckBox checked label={'Demo'} onChange={e => console.log(e)} />
);

Props

List of all properties for the CheckBox component:

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