@apolitical/component-library 6.6.9 → 6.6.10-493.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as Overlay } from './overlay';
|
|
1
|
+
export { default as Overlay, type IOverlayProps } from './overlay';
|
|
2
2
|
export { addAriaProps } from './overlay.helpers';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ButtonPropsType } from '../../../general';
|
|
3
|
-
interface
|
|
3
|
+
export interface IOverlayProps {
|
|
4
4
|
/** ID of the overlay */
|
|
5
5
|
id?: string;
|
|
6
6
|
/** If the overlay is showing or not */
|
|
@@ -36,5 +36,5 @@ interface Props {
|
|
|
36
36
|
/** Language to use */
|
|
37
37
|
locale?: string;
|
|
38
38
|
}
|
|
39
|
-
declare const Overlay: ({ id, isOpen, showDivider, maxWidth, functions: { onOpen, onClose }, forceShow: { error }, title, children, buttons, className, gtmContext, }:
|
|
39
|
+
declare const Overlay: ({ id, isOpen, showDivider, maxWidth, functions: { onOpen, onClose }, forceShow: { error }, title, children, buttons, className, gtmContext, }: IOverlayProps) => import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
export default Overlay;
|