import React from 'react'; import { colorIndex } from '../../constants/colors/colors.types'; import { PolymorphFlexProps } from '../Flex/Flex.types'; import { TextVariant } from '../Text/Text.types'; export interface LabelProps extends PolymorphFlexProps { variant?: 'error' | 'success' | 'neutral' | 'warning' | 'none'; preffix?: React.ReactNode; size?: 'small' | 'regular'; } export interface LabelNotificationProps extends PolymorphFlexProps { backgroundColor?: colorIndex; color?: colorIndex; children: string; height?: string; width?: string; } export type LabelSizeType = { [key: string]: TextVariant; };