Skip to main content

ViewCreator

A component that will create a view from a view config. A view config can contain a UIRecipe (InlineRecipeViewConfig) or reference an existing UIRecipe (ReferenceViewConfig). Passed type is for the document the idReference points to, _not_ any scope.

Props

NameTypeOptionalDescription

Returns

React component

Usage

Code example:

<ViewCreator
   idReference={idReference}
   viewConfig={viewConfig} />

Preview: