New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-native-custom-headers

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-custom-headers

The custom headers for react-native using react-navigation

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by12.5%
Maintainers
1
Weekly downloads
 
Created
Source

<<<<<<< HEAD

react-native-custom-headers

Custom headers for react-native using react-navigation for managing navigations in react-native apps.

REACT-NATIVE-CUSTOM-HEADERS!

Twitter

react-native custom headers for creating custom headers for the app using the react-navigation package for managing navigations in their app.

Installation

npm install react-native-custom-headers --save

PROPS

PropTypeDefaultDescription
navigation----navigationREQUIRED Pass the navigation prop
headerNameStringEmptyEnable Header Title
showHeaderImageBoolean-------Enable Header Image
headerImagePathpath-------Required (if showHeaderImage is taken true)
headerColorString-------Header Bar Color
headerTextStyleStylesheet-------Custom stylesheet to Header Title

Screenshots

![Alt text]
![Alt text]

HOW TO USE?

Import it using:

import Header from 'react-native-custom-headers;

and then,

<Header navigation={this.props.navigation}
showHeaderImage={false}
backImagePath ={require('./resources/back.png')}
headerImagePath = {require('./resources/logo.png')}
headerName={'SUB CATEGORY'}/>

`

You can also use this component with react-navigation custom header call like this,

navigationOptions: {
  header: props => <Header {...props} />,
},

OR,

Reclaim: {
    screen: GiftReclaimSection,
    navigationOptions: {
      tabBarLabel: 'Reclaim',
      header: <Header/>,
    }
  }

OR like this also,

static navigationOptions = {
    header: <Header/>,
  };
 

second commit

Keywords

FAQs

Package last updated on 13 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc