The purpose of 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.
You could pass interactiveTimeout as null in case you want widget to be always interact-able.

Hook Type Definition: useWidgetInteractiveTimeout

Example Usage:
import { useWidgetInteractiveTimeout } from "@livelike/react-native"

// passing a custom interactive timeout of 3 second
const myInteractiveTimeout = 3000
// handler fn called when widget timeouts
const onInteractiveTimeoutHandler = () => {
 // your custom logic

const { 
} = useWidgetInteractiveTimeout({
  interactiveTimeout: myInteractiveTimeout,
  onInteractiveTimeout: onInteractiveTimeoutHandler,