import { ComponentPropsWithoutRef, ComponentType, SVGProps } from 'react'; import IconColor from './colors'; export interface IconProps extends ComponentPropsWithoutRef<'svg'> { initial?: IconColor; highlighted?: IconColor; source?: string; } type IconComponent = ComponentType>; type IconComponentWrapped = ComponentType; declare const hoc: (Icon: IconComponent, iconView: string) => IconComponentWrapped; export default hoc;