Socket
Socket
Sign inDemoInstall

react-redux-app-header

Package Overview
Dependencies
472
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-redux-app-header

A boilerplate app header for your projects, with navigation and login / logout


Version published
Weekly downloads
3
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Motivation

A generic boostrap header with brand link, nav links and auth logout built in. Intended for use with react-redux-router and react-redux-auth0.

Run with your Auth0 credentials to see the login / signup / logout stuff working. You will see app routes after login.

AUTH0_CLIENTID=client-id AUTH0_DOMAIN=client-domain npm run development

Customizing

  • You can pass appTitle to customize the app name that shows.
  • brandLink updates the link for appTitle
  • 'addtlComponent' allows you to pass an additional component for any other header needs
  • routes is a list of routes that will be used to build the nav, formatted such as [{path: '/foo', text: 'Foo', navItemComponent: <CustomNavItemComponent icon='http://placekitten.com/50/50' /> }]

Keywords

FAQs

Last updated on 22 Aug 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc