mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 17:36:01 +00:00
app object list
This commit is contained in:
12
packages/web/src/icons/ExpandIcon.svelte
Normal file
12
packages/web/src/icons/ExpandIcon.svelte
Normal 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}
|
||||
@@ -102,4 +102,4 @@
|
||||
};
|
||||
</script>
|
||||
|
||||
<span class={iconNames[icon] || icon} {title} />
|
||||
<span class={iconNames[icon] || icon} {title} on:click />
|
||||
|
||||
Reference in New Issue
Block a user