@apolitical/component-library 6.6.20-ac.0 → 6.6.20-ac.2
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.
- package/modals/components/modal/modal.d.ts +2 -2
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
interface
|
|
2
|
+
export interface IModalProps {
|
|
3
3
|
/** The element that will render around the content */
|
|
4
4
|
element?: 'section' | 'div' | 'ul';
|
|
5
5
|
/** The content to display */
|
|
@@ -16,7 +16,7 @@ interface Props {
|
|
|
16
16
|
variant?: 'success' | 'error';
|
|
17
17
|
additionalContent?: React.ReactNode | JSX.Element | string;
|
|
18
18
|
}
|
|
19
|
-
declare const Modal: ({ element, children, className, variant, additionalContent, ...props }:
|
|
19
|
+
declare const Modal: ({ element, children, className, variant, additionalContent, ...props }: IModalProps) => React.DOMElement<{
|
|
20
20
|
/** The ID of the element */
|
|
21
21
|
id?: string | undefined;
|
|
22
22
|
/** If the element should be hidden */
|