feat(FiltersSidebar): add callback to clear all filters
Some checks failed
Some checks failed
This commit is contained in:
@@ -10,11 +10,12 @@
|
|||||||
* Buttons are equally sized (flex-1) for balanced layout. Note:
|
* Buttons are equally sized (flex-1) for balanced layout. Note:
|
||||||
* Functionality not yet implemented - wire up to filter stores.
|
* Functionality not yet implemented - wire up to filter stores.
|
||||||
*/
|
*/
|
||||||
|
import { clearAllFilters } from '$features/FilterFonts';
|
||||||
import { Button } from '$shared/shadcn/ui/button';
|
import { Button } from '$shared/shadcn/ui/button';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex flex-row gap-2">
|
<div class="flex flex-row gap-2">
|
||||||
<Button variant="outline" class="flex-1 cursor-pointer">
|
<Button variant="outline" class="flex-1 cursor-pointer" onclick={clearAllFilters}>
|
||||||
Reset
|
Reset
|
||||||
</Button>
|
</Button>
|
||||||
<Button class="flex-1 cursor-pointer">
|
<Button class="flex-1 cursor-pointer">
|
||||||
|
|||||||
Reference in New Issue
Block a user