TitleBar

Use this to show a title area on widgets. You can set a title on the left side and any arbitrary content on the right side - typically you would use a {@component FilterPanel} there. The content that appears on the right side go as children of this component.

Installation

import { TitleBar } from 'uxp/components';

Signature

const TitleBar: React.FunctionComponent<IWidgetTitleBarProps>

Examples

<TitleBar title='My Test Widget'>
     <div>Active</div>
</TitleBar>

Properties

Name
Type
Mandatory
Default Value
Example Value

title

string

Yes

-

-

icon

string

No

-

-

className

string

No

-

-

children

React.ReactNode

No

-

-

Last updated