import React from 'react'; import { BoxProps } from '../Box'; import { Theme } from '../../theme'; export interface IconProps extends BoxProps<'svg'> { /** The icon that you want to show */ type: keyof Theme['icons']; /** The color of the icon */ color?: BoxProps['color']; /** The size of the icon. Can be 18px or 24px */ size?: 'x-small' | 'small' | 'medium' | 'large'; } /** An simple SVG element exported as a React component. It renders a simple */ export declare const Icon: React.ForwardRefExoticComponent & React.RefAttributes>; export default Icon;