import * as React from "react"; import * as PropTypes from "prop-types"; declare const icons: { [key: string]: string; }; export interface DataProps { /** * Set custom Icon size. */ size?: number; /** * The Icon `onMouseEnter` will applied to `rootElm.style`. */ hoverStyle?: React.CSSProperties; /** * The Icon `onMouseDown` will applied to `rootElm.style`. */ activeStyle?: React.CSSProperties; /** * `ReactNode`, Paste unicode or string or `IconName`. */ children?: React.ReactNode; /** * if `true`, default `span` element will changed to `svg text` element. */ useSVGElement?: boolean; } export interface IconProps extends DataProps, React.HTMLAttributes { } export interface IconState { hovered?: boolean; } export declare class Icon extends React.Component { static defaultProps: IconProps; state: IconState; context: { theme: ReactUWP.ThemeType; }; static contextTypes: { theme: PropTypes.Requireable; }; handleMouseEnter: (e: React.MouseEvent) => void; handleMouseLeave: (e: React.MouseEvent) => void; render(): JSX.Element; } export { icons }; export default Icon;