@commercetools-frontend/actions-global
Version:
Global redux actions for a MC application
9 lines (8 loc) • 596 B
TypeScript
import type { TApiErrorNotificationOptions } from '../types';
export default function showApiErrorNotification({ errors, }: TApiErrorNotificationOptions): import("@commercetools-frontend/notifications").TAddNotificationAction<import("@commercetools-frontend/constants").TAppNotificationOfDomain & {
kind: import("@commercetools-frontend/constants").TAppNotificationKindPage;
} & {
id: number;
text?: undefined;
values?: import("@commercetools-frontend/constants").TAppNotificationValuesApiError<{}> | undefined;
} & import("@commercetools-frontend/notifications").TNotification>;