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.
38 lines (37 loc) • 1.27 kB
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { IconDefinition } from '@fortawesome/fontawesome-common-types';
declare const __propDef: {
props: {
[x: string]: any;
size?: string | number | undefined;
width?: (string | number) | undefined;
height?: (string | number) | undefined;
viewBox?: string | undefined;
path?: string | string[] | undefined;
data?: string | IconDefinition | null | undefined;
svg?: string | undefined | undefined;
svgUrl?: string | undefined | undefined;
title?: string | undefined | undefined;
desc?: string | undefined | undefined;
titleId?: string | undefined | undefined;
descId?: string | undefined | undefined;
classes?: {
root?: string;
path?: string | string[];
} | undefined;
};
events: {
click: MouseEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {};
};
};
export type IconProps = typeof __propDef.props;
export type IconEvents = typeof __propDef.events;
export type IconSlots = typeof __propDef.slots;
export default class Icon extends SvelteComponentTyped<IconProps, IconEvents, IconSlots> {
}
export {};