UNPKG

lucide-svelte

Version:

A Lucide icon library package for Svelte applications

25 lines (24 loc) 718 B
/** * @license lucide-svelte v0.446.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */ import type { SVGAttributes, SvelteHTMLElements } from 'svelte/elements'; export type Attrs = SVGAttributes<SVGSVGElement>; export type IconNode = [elementName: keyof SvelteHTMLElements, attrs: Attrs][]; export interface IconProps extends Attrs { name?: string; color?: string; size?: number | string; strokeWidth?: number | string; absoluteStrokeWidth?: boolean; class?: string; iconNode?: IconNode; } export type IconEvents = { [evt: string]: CustomEvent<any>; }; export type IconSlots = { default: {}; };