Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 463 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 463 Bytes

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 @tgfbikes/react-select-all

Usage

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