Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const handleSelectAllButtonClick = () => {
- if (areAllIconsSelected) {
- deselectAllIcons();
- } else {
- selectAllIcons();
- }
- };
- const handleSelectAllButtonClick = () => areAllIconsSelected ? deselectAllIcons() : selectAllIcons();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement