useUpdateSettingListener
Functions
default()
default(
setManagerWidgetStates
):void
Listen and react to the "update-setting" event.
This hook listens to the "update-setting" event and updates the per-widget setting part of the manager widget states. If the given widget ID is not in the collection, nothing will be updated.
Parameters
Parameter | Type | Description |
---|---|---|
setManagerWidgetStates | Dispatch <SetStateAction <IdMap <ManagerWidgetState >>> | Setter for the manager widget states. |
Returns
void