import * as React from 'react'; import { StandardProps } from '../../common'; import { IconName } from './icon.types'; export * from './icon.types'; export interface IconProps extends StandardProps { /** * The name of the icon to display. */ name: IconName; /** * The CSS color of the icon, otherwise uses the theme's foreground color. * @default currentColor */ color?: string; /** * The CSS stroke color of the icon, otherwise is not defined. */ stroke?: string; /** * @ignore */ children?: void; /** * The relative (number) or absolute size of the icon, where 1 * is the default size. */ size?: number | string; /** * Event emitted when the icon is clicked. */ onClick?(): void; /** * Event emitted when the mouse down on the icon. */ onMouseDown?(e: React.MouseEvent): void; } /** * The icon component displays an icon from the given set of icons. */ export declare const Icon: React.FC & { inner: { readonly StyledIcon: any; }; }; export { registerIcons } from './registerIcons';