lucide-solid
Version:
A Lucide icon library package for Solid applications
13 lines (12 loc) • 500 B
TypeScript
import { JSX } from 'solid-js/jsx-runtime';
export type IconNode = [elementName: keyof JSX.IntrinsicElements, attrs: Record<string, string>][];
export type SVGAttributes = Partial<JSX.SvgSVGAttributes<SVGSVGElement>>;
export interface LucideProps extends SVGAttributes {
key?: string | number;
color?: string;
size?: string | number;
strokeWidth?: string | number;
class?: string;
absoluteStrokeWidth?: boolean;
}
export type LucideIcon = (props: LucideProps) => JSX.Element;