@rileybathurst/paddle 1.9.20 → 1.9.21
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/package.json +1 -1
- package/src/paddle-specs.tsx +3 -1
package/package.json
CHANGED
package/src/paddle-specs.tsx
CHANGED
|
@@ -10,10 +10,12 @@ const specs: SpecsTypes = {
|
|
|
10
10
|
unit: "px", // ✅ string
|
|
11
11
|
}
|
|
12
12
|
} */
|
|
13
|
+
// * number[] is for cost when passing both price and discount
|
|
14
|
+
// or
|
|
13
15
|
type SpecsTypes = {
|
|
14
16
|
[key: string]: | string | number
|
|
15
17
|
| {
|
|
16
|
-
[key: string]: string | number;
|
|
18
|
+
[key: string]: string | number | number[];
|
|
17
19
|
};
|
|
18
20
|
}
|
|
19
21
|
// * moving the section tag to the parent component means you can loop yourself
|