setWidgetType function
Use the setWidgetType high order function to configure UI components into widget components that can be added to the WidgetsProvider component.
Import path
Arguments
|
Name |
Description |
|---|---|
|
|
UI component to be converted into widget component |
|
|
Enumerator for widget type with the following values:
|
Example
Note
Widget components without a rfkId value render as a widget component of its widget type.
When a widget component is not declared for a rfkId value, the widget component associated for the widget type, if declared, is rendered.