Skip to content

Shreyash-Atal/use-list

Repository files navigation

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
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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •