react-life-design
Version:
Life Design UI components
13 lines (12 loc) • 441 B
TypeScript
import * as React from 'react';
export interface IProps {
children?: React.ReactNode | React.ReactChild;
text?: string;
icon?: string;
variation?: 'default' | 'info' | 'big-attention' | 'attention' | 'warning' | 'refused' | 'accepted' | 'custom';
onClose?: (isActive?: boolean) => void;
active: boolean;
color?: string;
}
declare const _default: ({ variation, ...props }: IProps) => any;
export default _default;