@momo-kits/native-kits 0.112.1-beta.17 → 0.112.1-beta.18
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.
|
@@ -60,11 +60,11 @@ val ApplicationContext = staticCompositionLocalOf<MiniAppContext?> {
|
|
|
60
60
|
error("no context provided!")
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
val AppConfig = staticCompositionLocalOf<
|
|
63
|
+
val AppConfig = staticCompositionLocalOf<KitConfig?> {
|
|
64
64
|
error("no config provided!")
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
data class
|
|
67
|
+
data class KitConfig(
|
|
68
68
|
val trustBanner: TrustBannerData? = null,
|
|
69
69
|
val headerBar: String? = null,
|
|
70
70
|
val headerGradient: String? = null
|
|
@@ -76,7 +76,7 @@ fun ApplicationContainer(
|
|
|
76
76
|
composeApi: ComposeApi? = null,
|
|
77
77
|
statusBarHeight: Dp? = null,
|
|
78
78
|
applicationContext: MiniAppContext? = null,
|
|
79
|
-
config:
|
|
79
|
+
config: KitConfig? = null,
|
|
80
80
|
content: @Composable () -> Unit,
|
|
81
81
|
) {
|
|
82
82
|
var appTheme by remember { mutableStateOf(theme) }
|