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);