UNPKG

@plurid/plurid-ui-components-react

Version:

Plurid User Interface Components for React

15 lines (14 loc) 577 B
import React from 'react'; import { Theme } from '@plurid/plurid-themes'; import { DispatchAction, Notification, notifications } from '@plurid/plurid-ui-state-react'; export interface NotificationOwnProperties { data: Notification; theme: Theme; remove: DispatchAction<typeof notifications.actions.remove>; elements?: Record<string, JSX.Element>; style?: React.CSSProperties; className?: string; } export type NotificationProperties = NotificationOwnProperties; declare const Notification: React.FC<NotificationProperties>; export default Notification;