cherry-styled-components
Version:
Cherry is a design system for the modern web. Designed in Figma, built in React using Typescript.
12 lines (11 loc) • 357 B
TypeScript
import { icons } from 'lucide-react';
export type IconProps = keyof typeof icons;
interface Props {
name: IconProps;
color?: string;
size?: number;
className?: string;
"aria-label"?: string;
}
declare const Icon: ({ name, color, size, className, "aria-label": ariaLabel, }: Props) => import("react").JSX.Element | null;
export { Icon };