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