@apiteam/twa-bridge 7.0.0-beta.6 → 7.0.0-beta.7
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/react/index.d.ts +2 -2
- package/solid/index.d.ts +3 -3
package/package.json
CHANGED
package/react/index.d.ts
CHANGED
|
@@ -383,11 +383,11 @@ type SetHeaderColor = (eventData: {
|
|
|
383
383
|
/**
|
|
384
384
|
* The Mini App header color key. Could be either bg_color or secondary_bg_color.
|
|
385
385
|
*/
|
|
386
|
-
color_key
|
|
386
|
+
color_key?: 'bg_color' | 'secondary_bg_color';
|
|
387
387
|
/**
|
|
388
388
|
* Color in RGB format.
|
|
389
389
|
*/
|
|
390
|
-
color
|
|
390
|
+
color?: string;
|
|
391
391
|
}) => {
|
|
392
392
|
status: boolean | typeof NOT_SUPPORTED;
|
|
393
393
|
};
|
package/solid/index.d.ts
CHANGED
|
@@ -392,11 +392,11 @@ type SetHeaderColor = (eventData: {
|
|
|
392
392
|
/**
|
|
393
393
|
* The Mini App header color key. Could be either bg_color or secondary_bg_color.
|
|
394
394
|
*/
|
|
395
|
-
color_key
|
|
395
|
+
color_key?: 'bg_color' | 'secondary_bg_color';
|
|
396
396
|
/**
|
|
397
|
-
* Color in
|
|
397
|
+
* Color in HEX format.
|
|
398
398
|
*/
|
|
399
|
-
color
|
|
399
|
+
color?: string;
|
|
400
400
|
}) => {
|
|
401
401
|
status: boolean | typeof NOT_SUPPORTED;
|
|
402
402
|
};
|