react-native-main-view
v1.0.3
Published
Wrap components with webView on each screen. You can give customized background images, background colors, back button or title.
Downloads
2
Readme
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>