UNPKG

chakra-ui

Version:

Responsive and accessible React UI components built with React and Emotion

28 lines (23 loc) 460 B
import { BoxProps } from "../Box"; import * as React from "react"; interface IIcon { /** * The size of the icon. */ size?: string; /** * The name of the icon. */ name: string; /** * The color of the icon. */ color?: string; /** * The role of the icon. `presentation` or `img` */ role?: "presentation" | "img"; } export type IconProps = IIcon & BoxProps; declare const Icon: React.FC<IconProps>; export default Icon;