Home > @uniformdev/canvas > CanvasClient > updateComposition
CanvasClient.updateComposition() method
Updates or creates a Canvas component definition
Signature:
updateComposition(body: Omit<CompositionPutParameters, 'projectId'>): Promise<{
modified: string | null;
}>;
Parameters
Parameter | Type | Description |
---|---|---|
body | Omit<CompositionPutParameters, 'projectId'> |
Returns:
Promise<{ modified: string | null; }>