screens in react native code example
Example 1: useScreens() react native
// install react native screens
npm i react-native-screens
// import
import { enableScreens } from 'react-native-screens';
// run this before any screen render(usually in App.js)
enableScreens();
Example 2: react-native-screens
yarn add react-native-screens