brightyui
Version:
Brighty UI library
22 lines (21 loc) • 706 B
TypeScript
import { FC, ReactNode } from 'react';
import { ECurrencies } from '../../types/ECurrencies';
import { ECountries } from '../../types/ECountries';
import { EColors } from '../../types/EColors';
import { AllCurrenciesData } from '../../types/allCurrencies';
interface IconProps {
type: 'currency' | 'country' | 'icon' | 'profile';
currency?: ECurrencies | AllCurrenciesData;
country?: ECountries;
icon?: ReactNode;
wrapperColor?: EColors | 'unset';
size?: 'medium' | 'large' | 'custom';
loading?: boolean;
width?: number;
height?: number;
subIcon?: ReactNode;
subIconClassname?: string;
src?: string;
}
declare const Icon: FC<IconProps>;
export default Icon;