UNPKG

@commercetools-frontend/react-notifications

Version:
16 lines (15 loc) 547 B
import { SyntheticEvent } from 'react'; import type { TAppNotification, TAppNotificationDomain, TAppNotificationKindSide } from '@commercetools-frontend/constants'; type Props = { notification: TAppNotification<{ domain: TAppNotificationDomain; kind: TAppNotificationKindSide; text: string; }>; dismiss: (event: SyntheticEvent) => void; }; declare const GenericNotification: { (props: Props): import("@emotion/react/jsx-runtime").JSX.Element; displayName: string; }; export default GenericNotification;