svelte-ux
Version:
A large collection of Svelte components, actions, stores and utils to simplify creating highly interactive and visual applications. Built using Tailwind with extensibility and customization in mind.
6 lines (5 loc) • 302 B
TypeScript
import type { ComponentProps } from 'svelte';
import type { default as Icon } from '../components/Icon.svelte';
export type IconInput = ComponentProps<Icon>['data'] | ComponentProps<Icon>;
export type IconData = ComponentProps<Icon>['data'];
export declare function asIconData(v: IconInput): IconData;