Skip to main content

sdk.canvasmode

Home > @kittl/sdk > CanvasMode

CanvasMode type

Mode that affects overall canvas interaction - we hard code some here that we know will exist but there's no reason you can't use custom here too as we do allow Strings when its used in AppState.

Signature:

export type CanvasMode = 'erase' | 'crop' | 'reframe' | null;