Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jesstelford/react-checkem
Simple "Select All" for checkboxes in React
https://github.com/jesstelford/react-checkem
Last synced: 28 days ago
JSON representation
Simple "Select All" for checkboxes in React
- Host: GitHub
- URL: https://github.com/jesstelford/react-checkem
- Owner: jesstelford
- License: mit
- Created: 2020-06-21T14:05:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T09:29:48.000Z (almost 2 years ago)
- Last Synced: 2024-11-23T04:35:10.606Z (about 1 month ago)
- Language: JavaScript
- Size: 2.32 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# React Check 'em
> _Simple "Select All" for checkboxes in React_
```javascript
import { CheckemProvider, useCheckem } from 'react-checkem';const App = () => (
);const Form = () => {
const { register, registerSelectAll, handleChange } = useCheckem({
name: 'my-form',
});return (
Select All
Item 1
Item 2
Item 3
);
};
```