UNPKG

design-system-simplefi

Version:

Design System for SimpleFi Applications

16 lines (15 loc) 624 B
import { Colors } from '../../theme/colors/colors.types'; import { IconTypes, SFIIconsNames } from '../../theme/icons/icons.enums'; import { SpacingProps } from '../../types/spacing.types'; export declare type SFIIcons = typeof SFIIconsNames[keyof typeof SFIIconsNames]; export declare type Types = typeof IconTypes[keyof typeof IconTypes]; export interface BaseIconProps { name: SFIIcons | string; type?: Types | string; } export interface IconProps extends BaseIconProps, SpacingProps { color?: keyof Colors; className?: string; hovercolor?: keyof Colors; hasFixedWidth?: boolean; }