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