Skip to content

Commit

Permalink
✨ Add deleteChipGroup handler
Browse files Browse the repository at this point in the history
Signed-off-by: Radoslaw Szwajkowski <[email protected]>
  • Loading branch information
rszwajko committed Mar 7, 2024
1 parent 3e3d690 commit c0b4a9c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ export const MultiselectFilterControl = <TItem,>({
id={`filter-control-${category.key}`}
chips={chips}
deleteChip={(_, chip) => onFilterClear(chip)}
deleteChipGroup={() => setFilterValue([])}
categoryName={category.title}
showToolbarItem={showToolbarItem}
>
Expand Down

0 comments on commit c0b4a9c

Please sign in to comment.