Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

anceque/react-native-view-with-title

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

react-native-view-with-title

Component for iOS-like headers in React Native. Compatible also with Android.

Installation

$ yarn add anceque/react-native-view-with-title

Usage

import ViewWithTitle from 'react-native-view-with-title'

...
render() {
  <ViewWithTitle
    title="Screen title"
    style="add some styles here"
    renderLeft={() => (
      <YourComponentForBackButton
        onPress={() => this.props.navigation.goBack()}
      />
    )}
  >
    ...
  </ViewWithTitle>
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%