Skip to content

Commit 39641c2

Browse files
authored
fix: copy component code with variant prop (#276)
1 parent 44d7aa1 commit 39641c2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/lib/components/pages/icons/icon-dialog.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
await navigator.clipboard.writeText(
5555
given_icon_name_return_html_string({
5656
icon_type: type,
57-
icon_name: icon
57+
icon_name: icon,
58+
variant
5859
})
5960
);
6061
target.innerText = "Copied";

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { sveltekit } from "@sveltejs/kit/vite";
22
import { defineConfig } from "vite";
3-
import tailwindcss from '@tailwindcss/vite';
3+
import tailwindcss from "@tailwindcss/vite";
44

55
export default defineConfig({
66
optimizeDeps: {

0 commit comments

Comments
 (0)