UNPKG

@actinc/dls

Version:

Design Language System (DLS) for ACT & Encoura front-end projects.

20 lines 639 B
/** * Copyright (c) ACT, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { OptionsObject } from 'notistack'; import { ReactNode } from 'react'; import { ServerError } from "../../types"; export declare const AlertContext: import("react").Context<{ actions: { addAlert: (alert: { message: ReactNode; options?: OptionsObject; }) => void; addError: (error: Error | ServerError | unknown) => void; }; }>; export default AlertContext; //# sourceMappingURL=index.d.ts.map