UNPKG

tech-stack-icons

Version:

A Typesafe React component for rendering over **395+ original SVG icons** for the most-used design & development tools, frameworks, and AI services.

18 lines (17 loc) 510 B
import { FC, CSSProperties } from "react"; type Variant = "light" | "dark" | "grayscale"; type IconDefinition = { keywords?: string[]; svg: Record<Variant, string>; }; type IconsMap = Record<string, IconDefinition>; declare const typedIconsData: IconsMap; export type IconName = keyof typeof typedIconsData; interface StackIconProps { name: IconName; variant?: Variant; className?: string; style?: CSSProperties; } declare const StackIcon: FC<StackIconProps>; export default StackIcon;