1.0.0 • Published 6 years ago

@tgfbikes/react-select-all v1.0.0

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

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

Demo

Installation

npm install react-select-all

Usage

<SelectAll
  id="select-all"
  items={this.captains}
  itemsSelected={this.state.selectedCaptains.length}
  onChange={this.handleSelectAll}
/>