diff --git a/src/index.ts b/src/index.ts index 4e1db0c..19e864b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -429,7 +429,10 @@ export type ChartDesignerConfigOptions = | ChartDesignerReadOnlyModeConfigOptions | ChartDesignerSafeModeConfigOptions +export type ChartDesignerMode = 'normal' | 'readOnly' | 'safe' + export interface BaseChartDesignerConfigOptions { + mode?: ChartDesignerMode canvasColorScheme?: 'auto' | 'light' | 'dark' chartKey?: string container?: Element