import { FunctionComponent, MouseEvent, CSSProperties } from "react"; import { icons } from "../../../icons"; export interface DisplayIconProps { icon: keyof typeof icons; size: number; color: string; weight?: "bold" | "regular"; onClick?: (event: MouseEvent) => void; style?: CSSProperties; } /** * @component Renders an icon component with customizable size, color, weight, and click handler. * * - The props object containing the following properties: * @prop {keyof typeof icons} icon: The name of the icon to be rendered. * @prop {number} size: The size of the icon in pixels. * @prop {string} color: The color of the icon. * @prop {'bold' | 'regular'} weight: The weight of the icon font. Defaults to "bold". * @prop {function} onClick: Optional click handler for the icon. * @prop {CSSProperties} style: Optional additional styles to apply to the container div. * @return {ReactElement} The rendered icon component. */ declare const DisplayIcon: FunctionComponent; export { DisplayIcon };