@kinetographdev/react
The React renderer that turns components into scene JSON.
A React reconciler that emits scene JSON instead of DOM, plus the native elements and the timeline context every component reads time from. You install it directly only to build tools on top of the engine.
npm install @kinetographdev/react reactCurrent version: 0.3.0.
Exports
createSceneRootandemitLayerOf: render a React tree to scene JSON.TimelineContextanduseTimeline: the current frame and video config.- The native elements (
Layer,Rect,Text,Imageand the rest).