UNPKG

react-life-design

Version:
13 lines (12 loc) 441 B
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;