Appearance
Function: headerBar()
ts
function headerBar(props: HeaderBarProps): HeaderBarElement;Defined in: src/UI/blocks/headerBar.tsx:33
Parameters
| Parameter | Type | Description |
|---|---|---|
props | HeaderBarProps | Configuration object |
Returns
HeaderBarElement
Deprecated
Use the equivalent block from @matterway/sdk/UI instead. This block targets the old showUI path and will be removed when src/UI/ is dropped.
Header bar component for displaying title and description.
Example
Basic usage with title and description
headerBar({
title: "Header title",
description: "Header description"
});