import React, { Component, CSSProperties } from 'react'; import { iconName } from './constants'; import './Icon.css'; export type IconType = keyof typeof iconName; export type IconColorType = 'primary' | 'secondary' | 'white'; export type IconSize = 'original' | 'tiny' | 'small' | 'large'; export type IconProps = { size?: IconSize; color?: IconColorType; style?: CSSProperties; icon: IconType; className?: string; testId?: string; }; declare class Icon extends Component { render(): React.JSX.Element; } export default Icon;