Skip to content

nizamozcan/mainView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

mainView

main View

Use

React Native Main View is used to wrap components with customized background images, background colors, back buttons, or titles.

for installation npm i react-native-main-view

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>

Releases

No releases published

Packages

No packages published