import React from 'react'; import { Size } from './glyphCommon'; import { LGGlyph } from './types'; export interface IconProps extends Omit { /** * The name of the icon glyph */ glyph: string; /** * Size of the icon */ size?: Size | number; } type GlyphObject = Record; /** * Returns a single component with a `glyph` prop to select the glyph * @param glyphs The set of glyphs * @returns Icon component */ export declare function createIconComponent(glyphs: G): { ({ glyph, ...rest }: IconProps): React.JSX.Element; displayName: string; isGlyph: boolean; }; export {}; //# sourceMappingURL=createIconComponent.d.ts.map