UNPKG

@aveonline/ui-react

Version:

Home base for Aveonline design system - ecosystem react

19 lines (18 loc) 613 B
/// <reference types="react" /> import { IKind as IKindIcon } from '../..'; import { IChildren } from '../../../types'; declare type IKindFlag = 'default' | 'success' | 'warning' | 'error' | 'active' | 'subdued'; interface IPropsFlag extends IChildren { icon?: IKindIcon; kind?: IKindFlag; shadow?: 'popup' | 'basic' | 'none'; size?: 'sm' | 'lg' | 'full' | 'xl'; customWidth?: string; title?: string; showDelete?: boolean; description?: JSX.Element | string; onClose?: () => void; _t?: (text: string) => string; useT?: boolean; } export type { IPropsFlag, IKindFlag };