import React from 'react'; import { Size } from '@type/Components'; declare type IconSvg = React.FunctionComponent<{ className?: string; }>; declare type IconProps = Readonly<{ className?: string; icon?: string; IconSvg?: IconSvg; size?: Size; onClick?: () => void; }>; export default function Icon({ icon, IconSvg, className, size, ...rest }: IconProps): JSX.Element; export {};