Skip to content

Commit

Permalink
[#338] Use more permissive type for theme (#346)
Browse files Browse the repository at this point in the history
  • Loading branch information
jducro authored Jun 18, 2023
1 parent eee187b commit d447e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-filerobot-image-editor/src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Theme } from '@scaleflex/ui/theme';
import { ThemeOverride } from '@scaleflex/ui/theme';
import { FunctionComponent, RefObject } from 'react';

declare const TABS = {
Expand Down Expand Up @@ -239,7 +239,7 @@ type saveOption = {
};

export interface FilerobotImageEditorConfig {
theme?: Pick<Theme, 'breakpoints' | 'typography' | 'shape' | 'palette'>;
theme?: ThemeOverride;
source: string | HTMLImageElement;
annotationsCommon?: annotationsCommon;
// [TOOLS_IDS.TEXT]
Expand Down

0 comments on commit d447e4f

Please sign in to comment.