import React, { HTMLAttributes } from 'react'; import { BaseColorProp } from '../../types/color'; import { SizeProp } from '../../types/size'; export declare type AlertColor = BaseColorProp; export interface AlertProps extends Pick, 'className' | 'style'> { /** * @default 'basic' */ color?: AlertColor; /** * @default false */ elevation?: boolean; /** * @default 'normal' */ size?: SizeProp; /** * @default undefined */ icon?: React.ReactElement; heading?: any; message?: any; /** * @default undefined */ onClose?: () => void; /** * @default undefined */ action?: React.ReactNode; /** * //TODO: Implement transition within component * @default 'grow' */ transition?: 'grow' | 'fade' | 'slide-left' | 'slide-right' | 'slide-up' | 'slide-down'; /** * @default true */ fullWidth?: boolean; }