@react-native-gpui/safe-area-context
Desktop support for react-native-safe-area-context: safe area insets for desktop windows, including windows with a custom title bar.
Part of react-native-gpui, React Native for macOS, Windows and Linux.
Install
Install it next to react-native-safe-area-context:
npm install [email protected] @react-native-gpui/safe-area-context
Keep using react-native-safe-area-context as you do on iOS and Android; its JavaScript API is unchanged. Autolinking builds the desktop side when the app is built.
Documentation
License
MIT. See LICENSE.