1.0.2 • Published 6 years ago
default-router-template v1.0.2
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.
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