@commercetools-frontend/react-notifications
Version:
React bindings for @commercetools-frontend/notifications
13 lines (12 loc) • 702 B
TypeScript
import { type SerializedStyles } from '@emotion/react';
import type { TAppNotificationKind, TAppNotificationDomain } from '@commercetools-frontend/constants';
type StyleProps = {
type: TAppNotificationKind;
domain: TAppNotificationDomain;
fixed: boolean;
};
declare const getStylesForNotificationIcon: (props: StyleProps) => SerializedStyles;
declare const getStylesForCloseIcon: (props: StyleProps) => SerializedStyles;
declare const getStylesForContent: (props: StyleProps) => SerializedStyles;
declare const getStylesForNotification: (props: StyleProps) => SerializedStyles;
export { getStylesForNotificationIcon, getStylesForCloseIcon, getStylesForContent, getStylesForNotification, };