diff options
Diffstat (limited to 'frontend/src/lib/components/OrganizedButton.svelte')
-rw-r--r-- | frontend/src/lib/components/OrganizedButton.svelte | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/frontend/src/lib/components/OrganizedButton.svelte b/frontend/src/lib/components/OrganizedButton.svelte new file mode 100644 index 0000000..9be985c --- /dev/null +++ b/frontend/src/lib/components/OrganizedButton.svelte @@ -0,0 +1,9 @@ +<script lang="ts"> + import Organized from '$lib/icons/Organized.svelte'; + + export let organized: boolean; +</script> + +<button type="button" title="Toggle organized" class="flex text-base" on:click> + <Organized hoverable {organized} /> +</button> |