diff --git a/src/components/icons/angularIcon.svelte b/src/components/icons/angularIcon.svelte index 361850a..23aad74 100644 --- a/src/components/icons/angularIcon.svelte +++ b/src/components/icons/angularIcon.svelte @@ -1,5 +1,6 @@ - export let iconSize: number; + import type { IconProps } from '@/types/icons'; + let { iconSize }: IconProps = $props(); + import type { IconProps } from '@/types/icons'; + let { iconSize }: IconProps = $props(); + + - export let iconSize: number; - export let className: string; + import type { IconProps } from '@/types/icons'; + let { iconSize, className }: IconProps = $props(); - export let iconSize: number; - export let color: string; + import type { IconProps } from '@/types/icons'; + let { iconSize, color }: IconProps = $props(); + xmlns:xlink="http://www.w3.org/1999/xlink" +> + + + + + + + + diff --git a/src/components/icons/svelteIcon.svelte b/src/components/icons/svelteIcon.svelte index 35ed793..5c9f13c 100644 --- a/src/components/icons/svelteIcon.svelte +++ b/src/components/icons/svelteIcon.svelte @@ -1,5 +1,6 @@ - export let iconSize: number; + import type { IconProps } from '@/types/icons'; + let { iconSize }: IconProps = $props(); - export let iconSize: number; + import type { IconProps } from '@/types/icons'; + let { iconSize }: IconProps = $props();