Screen container component for React-Native
This library is developed for use with react-native-safe-area-context
SafeAreaView should be used as little as possible, as it will rattle depending on the timing of rendering.
In that case, you would use SafeAreaView in an App component, for example, but you may want to place headers and footers ignoring safe area.
npm install react-native-screen-containeror
yarn add react-native-screen-container<ScreenContainer>
/* Your screen content */
</ScreenContainer><ScreenContainer
headerComponent={<SomeHeaderComponent />} {/* <-- Your header component */}
footerComponent={<SomeFooterComponent />} {/* <-- Your header component */}
>
{/* Your screen content here */}
</ScreenContainer>See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library