@axos-web-dev/shared-components 1.0.77-patch.13 → 1.0.77-patch.14
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.
|
@@ -11,5 +11,6 @@ export interface CalculatorProps {
|
|
|
11
11
|
bodyCopy?: React.ReactNode;
|
|
12
12
|
disclosure?: React.ReactNode;
|
|
13
13
|
marketingTiles?: IconBillboardProps[];
|
|
14
|
+
initialBalance?: number;
|
|
14
15
|
}
|
|
15
16
|
export declare const Calculator: (props: CalculatorProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -135,7 +135,8 @@ const Calculator = (props) => {
|
|
|
135
135
|
disclosure,
|
|
136
136
|
headline,
|
|
137
137
|
name,
|
|
138
|
-
marketingTiles
|
|
138
|
+
marketingTiles,
|
|
139
|
+
initialBalance
|
|
139
140
|
} = props;
|
|
140
141
|
const ref = useRef(null);
|
|
141
142
|
const iframe = calculators.get(name || "");
|
|
@@ -226,7 +227,8 @@ const Calculator = (props) => {
|
|
|
226
227
|
bodyCopy,
|
|
227
228
|
variant,
|
|
228
229
|
disclosure,
|
|
229
|
-
icon
|
|
230
|
+
icon,
|
|
231
|
+
initialBalance
|
|
230
232
|
}
|
|
231
233
|
);
|
|
232
234
|
} else if (name === "APY Balance Summit Savings") {
|
package/package.json
CHANGED