Usage notes
Pass one stable engine instance to TimelineProvider. Descendant hooks such as useTimeline and useTimelineState read from this context and receive synchronized TimelineState snapshots.
Signature
Interface TimelineProviderPropsProperties
| Name | Signature | Description |
|---|---|---|
children? | children?: ReactNode | React subtree that should read from the provided engine. |
engine | engine: TimelineEngine | Engine instance that owns timeline state and editing operations. |