Browse Source

Make "target" prop optional in Typescript.

Matthias Bohlen 6 years ago
parent
commit
d3d86555f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/@uppy/react/src/DashboardModal.d.ts

+ 1 - 1
packages/@uppy/react/src/DashboardModal.d.ts

@@ -1,7 +1,7 @@
 import { DashboardProps } from './Dashboard';
 
 export interface DashboardModalProps extends DashboardProps {
-  target: string | HTMLElement;
+  target?: string | HTMLElement;
   open?: boolean;
   onRequestClose?: VoidFunction;
   closeModalOnClickOutside?: boolean;