Skip to content

Commit 8116a81

Browse files
committed
fix: importing components with type
1 parent f439251 commit 8116a81

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/lib/forms/radio/Radio.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { getContext } from "svelte";
33
import { radio } from ".";
44
import clsx from "clsx";
5-
import type { RadioProps, Label } from "$lib";
5+
import { type RadioProps, Label } from "$lib";
66
import { getTheme, warnThemeDeprecation } from "$lib/theme/themeUtils";
77
88
// remove inputClass in next major version

src/lib/forms/toggle/Toggle.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts">
22
import { toggle } from "./index";
33
import clsx from "clsx";
4-
import type { ToggleProps, Label } from "$lib";
4+
import { type ToggleProps, Label } from "$lib";
55
import { getTheme, warnThemeDeprecation } from "$lib/theme/themeUtils";
66
77
let { children, size = "default", value, checked = $bindable(), disabled, color = "primary", class: className, classes, inputClass, spanClass, offLabel, ...restProps }: ToggleProps = $props();

src/lib/list-group/Listgroup.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { setContext } from "svelte";
33
import { listGroup } from ".";
44
import clsx from "clsx";
5-
import type { ListgroupProps, ListgroupItem } from "$lib";
5+
import { type ListgroupProps, ListgroupItem } from "$lib";
66
import { getTheme } from "$lib/theme/themeUtils";
77
88
let { children, items, active, onclick, horizontal, rounded, border, class: className, itemClass, iconClass, ...restProps }: ListgroupProps = $props();

0 commit comments

Comments
 (0)