import React, { HTMLAttributes, ReactNode } from "react"; export interface FontIconProps extends HTMLAttributes { /** * The font icon class name to use. */ iconClassName?: string; /** * Boolean if the font icon should use the dense spec. */ dense?: boolean; /** * Any children to render to create the font icon. This is required for * material-icons. */ children?: ReactNode; /** * Either a boolean that will enforce the 24x24 size of the font icon or a * number of the size to enforce. This is useful when using other font icon * libraries that do not have a consistent size. */ forceSize?: boolean; /** * Boolean if the `forceSize` prop should also force the `font-size` instead * of only `width` and `height`. */ forceFontSize?: boolean; } /** * The `FontIcon` component is used for rendering a font-icon library's icon. * The default is to use the `material-icons` library, but others can be used as * well. * * If you are using another font icon library that does not always create icons * with a perfect 1:1 scale (such as font awesome), it is recommended to use the * `forceSize` and `forceFontSize` props to fix the sizing issues. */ declare const FontIcon: React.ForwardRefExoticComponent>; export default FontIcon;