@abgov/react-components 4.15.0-alpha.7 → 4.15.0-alpha.8
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/hero-banner/hero-banner.d.ts +6 -2
- package/package.json +1 -1
- package/react-components.esm.js +73 -64
- package/react-components.umd.js +73 -64
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React, { FC } from "react";
|
|
2
2
|
interface WCProps {
|
|
3
3
|
heading: string;
|
|
4
|
-
backgroundurl
|
|
4
|
+
backgroundurl?: string;
|
|
5
5
|
minheight?: string;
|
|
6
6
|
maxcontentwidth?: string;
|
|
7
|
+
backgroundcolor?: string;
|
|
8
|
+
textcolor?: string;
|
|
7
9
|
}
|
|
8
10
|
declare global {
|
|
9
11
|
namespace JSX {
|
|
@@ -14,11 +16,13 @@ declare global {
|
|
|
14
16
|
}
|
|
15
17
|
interface Props {
|
|
16
18
|
heading: string;
|
|
17
|
-
backgroundUrl
|
|
19
|
+
backgroundUrl?: string;
|
|
18
20
|
minHeight?: string;
|
|
19
21
|
testId?: string;
|
|
20
22
|
children?: React.ReactNode;
|
|
21
23
|
maxContentWidth?: string;
|
|
24
|
+
backgroundColor?: string;
|
|
25
|
+
textColor?: string;
|
|
22
26
|
}
|
|
23
27
|
export declare const GoAHeroBanner: FC<Props>;
|
|
24
28
|
export default GoAHeroBanner;
|
package/package.json
CHANGED