Files
goTorrent/goTorrentWebUI/node_modules/material-ui/Dialog/withMobileDialog.d.ts

17 lines
470 B
TypeScript

import { Breakpoint } from '../styles/createBreakpoints';
import { WithWidthProps } from '../utils/withWidth';
export interface WithMobileDialogOptions {
breakpoint: Breakpoint;
}
export interface InjectedProps {
fullScreen?: boolean;
}
export default function withMobileDialog<P = {}>(
options?: WithMobileDialogOptions,
): (
component: React.ComponentType<P & InjectedProps & Partial<WithWidthProps>>,
) => React.ComponentType<P & Partial<WithWidthProps>>;