app object list

This commit is contained in:
Jan Prochazka
2021-02-28 21:16:08 +01:00
parent 5dba5a6dfd
commit 565a60e638
12 changed files with 142 additions and 14 deletions

View File

@@ -0,0 +1,12 @@
<script>
import FontIcon from './FontIcon.svelte';
export let isBlank = false;
export let isExpanded = false;
</script>
{#if isBlank}
<FontIcon icon="icon invisible-box" {...$$props} />
{:else}
<FontIcon icon={isExpanded ? 'icon minus-box' : 'icon plus-box'} {...$$props} />
{/if}

View File

@@ -102,4 +102,4 @@
};
</script>
<span class={iconNames[icon] || icon} {title} />
<span class={iconNames[icon] || icon} {title} on:click />