@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
17 lines • 786 B
TypeScript
/**
* 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 { SnackbarProviderProps } from 'notistack';
import { ReactElement, ReactNode } from 'react';
export interface AlertContextProviderProps extends Partial<SnackbarProviderProps> {
anchorOriginHorizontal?: 'left' | 'right' | 'center';
anchorOriginVertical?: 'bottom' | 'top';
children: ReactNode;
maxSnack?: number;
}
export declare const AlertContextProvider: ({ anchorOriginHorizontal, anchorOriginVertical, children, maxSnack, ...otherSnackbarProps }: AlertContextProviderProps) => ReactElement<unknown>;
export default AlertContextProvider;
//# sourceMappingURL=provider.d.ts.map