mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-25 03:08:34 +00:00
16 lines
534 B
TypeScript
16 lines
534 B
TypeScript
import { DashboardProps } from './Dashboard';
|
|
|
|
export interface DashboardModalProps extends DashboardProps {
|
|
target?: string | HTMLElement;
|
|
open?: boolean;
|
|
onRequestClose?: VoidFunction;
|
|
closeModalOnClickOutside?: boolean;
|
|
disablePageScrollWhenModalOpen?: boolean;
|
|
}
|
|
|
|
/**
|
|
* React Component that renders a Dashboard for an Uppy instance in a Modal
|
|
* dialog. Visibility of the Modal is toggled using the `open` prop.
|
|
*/
|
|
declare const DashboardModal: React.ComponentType<DashboardModalProps>;
|
|
export default DashboardModal;
|