Classic page layout for rax application.
web |
$ npm install rax-page-layout --save
import { PageLayout, PageHeader, PageFooter, PageMain } from 'rax-page-layout';
Layout view for a page.
name | type | default | required | describe | support |
---|---|---|---|---|---|
children | RaxNode | - | false | PageMain | PageHeader | PageFooter |
Main content container for a page.
import { createElement, render } from 'rax';
import DriverUniversal from 'driver-universal';
import { PageLayout, PageHeader, PageFooter, PageMain } from 'rax-page-layout';
render(<PageLayout />, document.body, { driver: DriverUniversal });
MIT