import { default as React, Ref } from 'react'; import { iconMap } from '../../icons'; export type IconName = keyof typeof iconMap; export type IconSize = 's' | 'm' | 'l' | 'xl'; export type IconProps = { ref?: Ref; /** * className for the element. */ className?: string; /** * The size of the Icon. * @default m */ size?: IconSize; /** * The color of the Icon. * @default currentColor */ color?: string; /** * The icon to display. */ name: IconName; }; export declare const Icon: ({ className, size, color, name, ref, ...rest }: IconProps) => React.JSX.Element; //# sourceMappingURL=Icon.d.ts.map