summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/lib/components/BookmarkButton.svelte
blob: 89570e69bff66109d777120ef404329c1e4bab14 (plain) (blame)
1
2
3
4
5
6
7
8
9
<script lang="ts">
	import Bookmark from '$lib/icons/Bookmark.svelte';

	export let bookmarked: boolean;
</script>

<button type="button" title="Toggle bookmark" class="flex text-base" on:click>
	<Bookmark hoverable {bookmarked} />
</button>