widgets Component – <LiveDiv>

const LiveDiv: FunctionComponent<LiveDivProps>

Embed Live <div> inside React. Portal from React to Live.

Props

style?
Record<string, any>

CSS styles to apply to the <div>

render?
( div: HTMLDivElement, ) => LiveElement

Render prop for Live contents

children?
( div: HTMLDivElement, ) => LiveElement

Render prop for Live contents (alternative)

Source

packages / react / src / live-div.tsx

menu
format_list_numbered