use-list

0.1.3 • Public • Published

use-list

NPM JavaScript Style Guide

Install

npm install --save use-list

Usage

import { useList } from 'use-list'

Demo

https://codesandbox.io/s/inspiring-water-uq7g4

Methods

Inputs README
addItem For adding item in the list
updateItem For updating item in the list
deleteItem For deleting first item in the list
deleteItems For deleting selected item(s) in the list
sortItems For sorting item(s) in the list
filterItems For Filtering item(s) in the list
toggleSelectItem For getting details of selected item(s) in the list
toggleSelectAllItems For getting details of all selected item(s) in the list

License

MIT © Shreyash-Atal


This hook is created using create-react-hook.

Readme

Keywords

none

Package Sidebar

Install

npm i use-list

Weekly Downloads

3

Version

0.1.3

License

MIT

Unpacked Size

163 kB

Total Files

22

Last publish

Collaborators

  • shreyashatal