React Multi Check
Select multiple options at once
A very simple React Component to enable multiple select.
Installation
npm install react-multi-check --save
Usage
;;; let elements = label: 'option 1' label: 'option 2' ReactDOM;
Props
onSelect
Get called when any element is selected with indexes of selected elements.
console.log(selected)} />// output [0, 4, 5]
selectedItem
Custom element to show when an element is selected in front of selected element.
elements
List of options to show.
let elements = label: 'option 1' label: 'option 2'
elemStyle
Each individual element style when unselected.
elemActiveStyle
element style when selected.
If your are using this component then please star this component and feel free to contribute.