const LiveCanvas: FunctionComponent<LiveCanvasProps>
Embed Live <canvas>
inside React. Portal from React to Live.
Record<string, any>
CSS styles to apply to the <canvas>
( canvas: HTMLCanvasElement, ) => LiveElement
Render prop for Live contents
( canvas: HTMLCanvasElement, ) => LiveElement
Render prop for Live contents (alternative)
packages / react / src / live-canvas.tsx