UNPKG

@firecms/ui

Version:

Awesome Firebase/Firestore-based headless open-source CMS

14 lines (13 loc) 547 B
import * as React from "react"; import "@material-design-icons/font/filled.css"; export type IconColor = "inherit" | "primary" | "secondary" | "disabled" | "error" | "success" | "warning"; export type IconProps = { size?: "smallest" | "small" | "medium" | "large" | number; color?: IconColor; className?: string; onClick?: (e: React.SyntheticEvent) => void; style?: React.CSSProperties; }; export declare const Icon: React.ForwardRefExoticComponent<IconProps & { iconKey: string; } & React.RefAttributes<HTMLSpanElement>>;