Home > @uniformdev/canvas > CanvasClient > updateComposition

CanvasClient.updateComposition() method

Updates or creates a Canvas component definition

Signature:

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

body

</td><td>

Omit<CompositionPutParameters, 'projectId'>

</td><td>

</td></tr> </tbody></table> Returns:

Promise<void>