UNPKG

@bothub-chat/ui

Version:

Bothub UI Components

17 lines (16 loc) 569 B
import React from 'react'; import { NotificationVariant } from './types'; export type NotificationCloseEventHandler = (notificationId: string) => unknown; export interface NotificationProps { className?: string; variant?: NotificationVariant; autoClose?: number | false; notificationId?: string; title?: string; children?: React.ReactNode; onClose?: NotificationCloseEventHandler; } export declare const Notification: React.FC<NotificationProps>; export * from './types'; export * from './list'; export { NotificationText } from './styled';