2.2.0 • Published 6 years ago

@materialr/checkbox v2.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

MaterialR Checkbox

@materialr/checkbox

Build Status Coverage Status NSP Status semantic-release

Material checkbox implementation for React

Installation

$ npm install --save @materialr/checkbox

Demo

A full demo is available on the MaterialR website showcasing all variants.

Components

Default export

import Checkbox from '@materialr/checkbox';

Props

PropTypeRequiredDefaultDescription
checkedboolNoundefinedWhether the checkbox is checked
classNamestringNoundefinedAdditional classNames to add
disabledboolNofalseWhether the checkbox is disabled
idstringNouuidv1()The id to add to the label and checkbox
labelstringYesN/AThe label for the checkbox
namestringNoundefinedThe checkbox element's name attribute
onBlurfuncNoundefinedThe blur event handler
onChangefuncNoundefinedThe change event handler
onDragStartfuncNoundefinedThe dragstart event handler
onDropfuncNoundefinedThe drop event handler
onFocusfuncNoundefinedThe focus event handler
2.2.0

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago