1.0.0 • Published 2 years ago

next_alphabeticcheckboxesitem_list v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

How to pass the items data to AlphabaticCheckboxes file const items: {value:'1',label:'A1'}, {value:'2',label:'A2'}, {value:'3',label:'A3'}, {value:'4',label:'A4'}, {value:'5',label:'A5'}, {value:'6',label:'b1'}, ;

const selectIds = [];//store all selectedIds const handleCheck = (e) => { //when ever the check the checkbox this method will trigger const { id, checked } = e.target; console.log(id,checked) } const isAllSelected = false;//default select all the checkboxes const handleSelectAll = (e) => { const { checked } = e.target; }

how to use Alphabetic check boxes package just need to import the package and follow the below code )