@abgov/react-components 4.0.0-alpha.116 → 4.0.0-alpha.117
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/lib/modal/modal.d.ts +2 -2
- package/package.json +1 -1
- package/react-components.esm.js +374 -227
- package/react-components.umd.js +374 -227
package/lib/modal/modal.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export declare type ModalTransition = "fast" | "slow" | "none";
|
|
|
3
3
|
export declare type CalloutVariant = "information" | "important" | "emergency" | "success" | "event";
|
|
4
4
|
interface WCProps {
|
|
5
5
|
ref: React.RefObject<HTMLElement>;
|
|
6
|
-
heading?:
|
|
6
|
+
heading?: React.ReactNode;
|
|
7
7
|
open?: boolean;
|
|
8
8
|
width?: string;
|
|
9
9
|
closable?: boolean;
|
|
@@ -19,7 +19,7 @@ declare global {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
interface Props {
|
|
22
|
-
heading?:
|
|
22
|
+
heading?: React.ReactNode;
|
|
23
23
|
width?: string;
|
|
24
24
|
actions?: React.ReactElement;
|
|
25
25
|
onClose?: () => void;
|
package/package.json
CHANGED