Skip to content

Commit

Permalink
extends UIPluginOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon committed Jan 22, 2024
1 parent c97cf2b commit 06a44ef
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/@uppy/image-editor/src/ImageEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { UIPlugin, type Uppy } from '@uppy/core'
import { UIPlugin, type UIPluginOptions, type Uppy } from '@uppy/core'
import type Cropper from 'cropperjs'
import { h } from 'preact'

Expand Down Expand Up @@ -34,9 +34,8 @@ declare module '@uppy/core' {
}
}

export type Opts = {
id?: string
target?: string | HTMLElement
export interface Opts extends UIPluginOptions {
target: string | HTMLElement
quality?: number
cropperOptions?: Cropper.Options & {
croppedCanvasOptions?: Cropper.GetCroppedCanvasOptions
Expand Down

0 comments on commit 06a44ef

Please sign in to comment.