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

PropDescriptionRequiredValue

children

children to render

optional

component(s)

title

title of the view

required

string

Notes

  • The title prop provides the title for the header section.

  • The children prop allows for rendering additional components within the header.

Last updated