Home > @uniformdev/canvas-react > UniformComposition

UniformComposition() function

The main component to render a Canvas composition. It renders the full tree of components, and provides some services to the children, such as useUniformCurrentComposition. It also takes care of enabling [Contextual Editing](https://docs.uniform.app/capabilities/composition/contextual-editing).

Signature:

Parameters

ParameterTypeDescription
{ data, behaviorTracking, children, resolveRenderer, contextualEditingEnhancer, contextualEditingDefaultPlaceholder, }UniformCompositionProps<TRenderProps>

Returns:

React$1.JSX.Element