UNPKG

@commercetools-frontend/react-notifications

Version:
17 lines (16 loc) 456 B
import { type ReactNode } from 'react'; import type { TAppNotificationDomain, TAppNotificationKind } from '@commercetools-frontend/constants'; type Props = { domain: TAppNotificationDomain; kind: TAppNotificationKind; text?: ReactNode; meta?: { [key: string]: unknown; }; dismissAfter?: number; }; declare const Notifier: { ({ domain, kind, ...props }: Props): null; displayName: string; }; export default Notifier;