mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-06-15 10:17:54 +08:00
fix: withExpoSnack fixes
This commit is contained in:
@@ -25,7 +25,7 @@ function ExpoSnackWrapper({ children }: PropsWithChildren<unknown>) {
|
||||
|
||||
export function withExpoSnack(
|
||||
Component: ComponentType,
|
||||
theme: Config["theme"]
|
||||
theme: Config["theme"] = {}
|
||||
) {
|
||||
function dangerouslyCompileStyles(css: string, store: StyleSheetRuntime) {
|
||||
const themeString = JSON.stringify(theme);
|
||||
|
||||
Reference in New Issue
Block a user