From 180de7df1be5d58fe332cff00a6c0056e7ce3ade Mon Sep 17 00:00:00 2001 From: Mark Lawlor Date: Thu, 30 Jun 2022 17:00:38 +1000 Subject: [PATCH] fix: withExpoSnack fixes --- src/expo-snack.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expo-snack.tsx b/src/expo-snack.tsx index 1d20f74..92dbf0d 100644 --- a/src/expo-snack.tsx +++ b/src/expo-snack.tsx @@ -25,7 +25,7 @@ function ExpoSnackWrapper({ children }: PropsWithChildren) { export function withExpoSnack( Component: ComponentType, - theme: Config["theme"] + theme: Config["theme"] = {} ) { function dangerouslyCompileStyles(css: string, store: StyleSheetRuntime) { const themeString = JSON.stringify(theme);