@brizy/ui
Version:
React elements in Brizy style
13 lines (12 loc) • 365 B
TypeScript
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;