UNPKG

@commercetools-frontend/react-notifications

Version:
15 lines (14 loc) 516 B
import { ReactNode, SyntheticEvent } from 'react'; import type { TAppNotificationKind, TAppNotificationDomain } from '@commercetools-frontend/constants'; export type Props = { domain: TAppNotificationDomain; type: TAppNotificationKind; fixed?: boolean; onCloseClick?: (event: SyntheticEvent) => void; children: ReactNode; }; declare const Notification: { ({ fixed, ...props }: Props): import("@emotion/react/jsx-runtime").JSX.Element; displayName: string; }; export default Notification;