import type React from 'react'; export type IconProps = { color?: string; size?: string; className?: string; 'data-component-name'?: string; } & React.SVGProps; export type CDNIconProps = IconProps & { name: string; type?: string; pack?: 'font-awesome' | 'code'; // default is font-awesome, code is for vscode icons mode?: 'mask' | 'background'; // default is mask, background allows to keep original colors };