Page component
The Page component displays a simple page with a title and content.
Basic usage
Example:
jsx
import { Page } from '@kottster/react';
export default () => (
<Page title='About Us'>
Hello, this is the content of the page.
</Page>
);Properties
title
string, optionalThe title displayed at the top of the page. If not provided, the navigation item name will be used as the default.
children
ReactNode, optionalThe content of the page passed as children. This can be any valid React element.
withHeader
boolean, optionalA boolean indicating whether to display the page header. Defaults to
true.headerRightSection
ReactNode, optionalA custom component displayed on the right side of the page header.
headerBottomSection
ReactNode, optionalA custom component displayed below the page header.
children
ReactNode, optionalThe content of the page passed as children. This can be any valid React element.
maxContentWidth
number, optionalThe maximum width of the dashboard content area. This can be specified in pixels.