1.0.2 • Published 6 years ago

default-router-template v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Default Layout: Router-Template

This project create an isolated structure or component layout with react, to display components in the correct position. You have to pass components by properties to display it in the position that you want.

This is a visual representation of the layout. npm.io

Note: The nav section is built automaticaly thank routes prop.

How use it

import CustomLayout from 'custom-router-template' 
...
<DefaultRouterTemplate container={} routes={} header={} footer={} />

Blocks / props

  • header : Position to place the HEADER component
  • footer : Position to place the FOOTER component.
  • container : Position to place the content component.

  • routes : Array list with the routes to display inside the nav menu

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago