Title Bar
Installation
PNPM
pnpm add @lg-chat/title-bar
Yarn
yarn add @lg-chat/title-bar
NPM
npm install @lg-chat/title-bar
Example
import { TitleBar } from '@lg-chat/title-bar';
return <TitleBar title="LeafyGreen Chat" badgeText="Beta" />;
Properties
| Prop | Type | Description | Default |
|---|---|---|---|
badgeText (optional) |
string |
Badge text rendered to indicate 'Beta' or 'Experimental' flags | |
title |
string |
Title text | |
... |
HTMLElementProps<'div'> |
Props spread on root element |