WidgetContentHeading
Interfaces
WidgetContentHeadingProps
Properties
Property | Type | Description | Defined in |
---|---|---|---|
action | () => void | The action on button click. | manager/components/WidgetContentHeading.tsx:12 |
actionIcon | ReactNode | The icon for the action button. | manager/components/WidgetContentHeading.tsx:8 |
actionText | string | The text for the action button. | manager/components/WidgetContentHeading.tsx:10 |
heading | ReactNode | The component to put in the heading. | manager/components/WidgetContentHeading.tsx:6 |
Functions
default()
default(
__namedParameters
):Element
The heading component for each section of a widget tab.
This displays the heading aligned left and the action button aligned right. The action button will be composed of the icon then the text.
Parameters
Parameter | Type |
---|---|
__namedParameters | WidgetContentHeadingProps |
Returns
Element