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

ParameterTypeDescription
bodyOmit<CompositionPutParameters, 'projectId'>

Returns:

Promise<{ modified: string | null; }>