1.0.3 • Published 2 years ago
react-native-main-view v1.0.3
mainView
main View
Use
React Native Main View is used to wrap components with customized background images, background colors, back buttons, or titles.
Example usage:
import MainView from 'react-native-main-view';
// ...
<MainView
backgroundImage={require("./src/back6.png")}
header={{
title: "Example Title",
titleStyle: { color: "black" },
backIcon: require("./src/background.jpeg"),
backPress: () => console.log("Click Press")
}}
>
{/* Component content can go here */}
</MainView>