Skip to main content

EntityDescription

EntityDescription provides a way to render description of the entity with React.

Its children will be rendered to the container element specified by container prop (by default, rendered to the info box of the viewer) with React Portal. So you can use any event or dynamic state inside children of this component.

Availability

EntityDescription can be mounted only insideEntity components, and can not be mounted more than once for each entity.

Properties

PropertyTypeDescription
containerElement
resizeInfoBoxboolean
childrenReactNode