📅  最后修改于: 2022-03-11 15:01:46.535000             🧑  作者: Mango
// 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();