Signature
useTimeline(): UseTimelineResultReturns
Timeline context containing the shared `TimelineEngine` instance and
the synchronized `TimelineState` snapshot.
Examples
const { engine, state } = useTimeline();
return ( <button onClick={() => engine.updatePlayhead(state.playheadTime)}> Refresh playhead </button>);