Header
The Header component provides a header section with a title and optional children components.
Preview

Usage
import { Header } from 'components/lib';
function MyComponent({ ...props }) {
return (
<Header title='My View Title'>
<p>Optional content goes here.</p>
</Header>
);
}Props
Prop
Description
Required
Value
children
children to render
optional
component(s)
title
title of the view
required
string
Notes
The
titleprop provides the title for the header section.The
childrenprop allows for rendering additional components within the header.
Last updated
Was this helpful?