1.0.0 • Published 6 years ago
@tgfbikes/react-select-all v1.0.0
React select all
A very simple checkbox that supports checked, unchecked, and indeterminite states. Based off the functionality of the select all checkbox in Gmail.
Demo
Installation
npm install react-select-all
Usage
<SelectAll
id="select-all"
items={this.captains}
itemsSelected={this.state.selectedCaptains.length}
onChange={this.handleSelectAll}
/>
1.0.0
6 years ago