Upgrading from SDK 45 to 46 and react version 18

Thank you for your reply. For example I’m using the third party package
@react-native-picker/picker that when i’ve run expo-cli upgrade has updated to version 2.4.2. But this version is not supporting react 18 !!

npm ERR! Could not resolve dependency:
npm ERR! peer react@"16 || 17" from @react-native-picker/picker@2.4.2
npm ERR! node_modules/@react-native-picker/picker
npm ERR!   @react-native-picker/picker@"2.4.2" from the root project