import type { Component } from 'svelte'; import type { SVGAttributes } from 'svelte/elements'; export type IconComponent = Component & { [key: `data-${string}`]: any; }>; interface Props extends SVGAttributes { /** The SVG icon component to render. */ icon: IconComponent; /** Render the icon inline next to text. */ inline?: boolean; } /** * Provides a convenient API to render SVG icons. * * Use Lucide icons by referring to them as `ILucide`. For example: * * * * See https://lucide.dev/icons/ for a list of available icons. */ declare const Icon: Component; type Icon = ReturnType; export default Icon;