/react-select-all

A checkbox that can be unchecked, checked, or indeterminite.

Primary LanguageJavaScriptMIT LicenseMIT

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}
/>