diff options
Diffstat (limited to 'src/components/Code.svelte')
| -rw-r--r-- | src/components/Code.svelte | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/Code.svelte b/src/components/Code.svelte index 48c132b0..23d5df77 100644 --- a/src/components/Code.svelte +++ b/src/components/Code.svelte @@ -1,4 +1,5 @@ <script lang="ts"> + import PhCopyBold from "virtual:icons/ph/copy-bold"; import { copyNoNewlines as copy } from "$lib/utils"; import samples from "$lib/samples"; let { sample } = $props(); @@ -6,7 +7,7 @@ {#snippet cp(something)} <button type="button" class="ml-auto" onclick={() => copy(something)} aria-label="Copy value"> - <iconify-icon noobserver icon="ph:copy-bold" width="42"></iconify-icon> + <PhCopyBold width="42" /> </button> {/snippet} |
