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