Skip to content

Commit e795e9a

Browse files
Change SVG for download (#822)
* Change SVG for download * Rename `Download` to `Export`
1 parent b736509 commit e795e9a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/src/lib/components/Example.svelte

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import LucideTable from '~icons/lucide/table';
2424
import LucideFilePen from '~icons/lucide/file-pen';
2525
import LucideGripVertical from '~icons/lucide/grip-vertical';
26-
import LucideDownload from '~icons/lucide/download';
26+
import LucideImageDown from '~icons/lucide/image-down';
2727
2828
import { page } from '$app/state';
2929
import { openInStackBlitz } from '$lib/utils/stackblitz.svelte';
@@ -328,18 +328,18 @@
328328
{/if}
329329

330330
<Toggle let:on={open} let:toggle let:toggleOff>
331-
<Button icon={LucideDownload} class="text-surface-content/70 py-1" on:click={toggle}>
332-
Download
331+
<Button icon={LucideImageDown} class="text-surface-content/70 py-1" on:click={toggle}>
332+
Export
333333
<Menu {open} on:close={toggleOff} placement="bottom-start" classes={{ menu: 'p-1' }}>
334334
<MenuItem
335-
icon={LucideDownload}
335+
icon={LucideImageDown}
336336
on:click={() => downloadImage(containerEl!, { filename: name ?? component })}
337337
>
338-
Download as PNG
338+
Export as PNG
339339
</MenuItem>
340340
{#if settings.layer !== 'canvas'}
341-
<MenuItem icon={LucideDownload} on:click={handleSvgDownload}>
342-
Download as SVG
341+
<MenuItem icon={LucideImageDown} on:click={handleSvgDownload}>
342+
Export as SVG
343343
</MenuItem>
344344
{/if}
345345
</Menu>

0 commit comments

Comments
 (0)