feat: add icons
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 1m55s

This commit is contained in:
2024-04-26 01:13:08 +02:00
parent bd359fbaf7
commit d06b33f508
9 changed files with 31 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
export let icon: string = "";
export let title = "";
export let classes = "";
export let hidden: boolean;
export let hidden: boolean | undefined = undefined;
const setVisibility =
getContext<(id: string, visible: boolean) => void>("setVisibility");
@@ -21,7 +21,6 @@
>("registerPanel");
let visible = registerPanel(id, icon, classes);
console.log(id, $visible, hidden);
</script>
{#if $visible}