usePredictionClaimRewardEffect hook claims the prediction reward
whenever a prediction follow up based UI is rendered.
Internally it calls claimPredictionWidgetRewards JS API.
useWidgetExpiryEffect hook runs a timer to update widget UI phase to EXPIRED
once the expiry time has passed. Expiry time is set when creating widget from producer suite
useWidgetInteractiveTimeout hook is to derive resulted interactiveTimeout based on
the passed interactiveTimeout value that in turns drives widget UI phases.
For example, once the widget timeouts, widget UI phase would transition from INTERACTIVE to TIMED_OUT
which would turn the widget into a non interact-able widget.
Resulted interactiveTimeout value is used by LLWidgetHeader component.
custom interactiveTimeout, defaults to the timeout value set when creating widget in producer suite