diff --git a/src/core/NativeBaseProvider.tsx b/src/core/NativeBaseProvider.tsx index 43b4bd14b..8867311f1 100644 --- a/src/core/NativeBaseProvider.tsx +++ b/src/core/NativeBaseProvider.tsx @@ -94,7 +94,7 @@ const NativeBaseProvider = (props: NativeBaseProviderProps) => { - {children} + {React.version >= '18' ? children : {children}}