next_alphabeticcheckboxesitem_list
v1.0.0
Published
We can display the data according to alpjabetic order
Downloads
1
Maintainers
Readme
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 )