UNPKG

@brizy/ui

Version:
13 lines (12 loc) 365 B
import { ReactElement } from "react"; import { Color, FCC } from "../types"; export interface Props { source: FCC | string; color?: Color; hoverColor?: Color; size?: string; onClick?: (e: { stopPropagation: VoidFunction; }) => void; } export declare const Icon: ({ source, color, hoverColor, size, onClick }: Props) => ReactElement;