Last updated 4 months ago
The Header component provides a header section with a title and optional children components.
Header
import { Header } from 'components/lib'; function MyComponent({ ...props }) { return ( <Header title='My View Title'> <p>Optional content goes here.</p> </Header> ); }
The title prop provides the title for the header section.
title
The children prop allows for rendering additional components within the header.
children
children to render
optional
component(s)
title of the view
required
string