@commercetools-frontend/react-notifications
Version:
React bindings for @commercetools-frontend/notifications
15 lines (14 loc) • 516 B
TypeScript
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;