Use importWidgetModule to import a module
which must export default a React component,
and render that with props.
Errors in the component are caught in an error boundary.
The EnvPosContext must be set.
It is used to retrieve the Lean.Environment
from which the widget module identified by hash
is obtained.
Use importWidgetModule to import a module which must
export defaulta React component, and render that withprops. Errors in the component are caught in an error boundary.The EnvPosContext must be set. It is used to retrieve the
Lean.Environmentfrom which the widget module identified byhashis obtained.