@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.
@@ -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?: string;
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?: string;
22
+ heading?: React.ReactNode;
23
23
  width?: string;
24
24
  actions?: React.ReactElement;
25
25
  onClose?: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/react-components",
3
- "version": "4.0.0-alpha.116",
3
+ "version": "4.0.0-alpha.117",
4
4
  "description": "Government of Alberta - UI components for React",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"