UNPKG

535 BTypeScriptView Raw
1import { Breakpoint } from '../styles/createBreakpoints';
2import { WithWidth } from '../withWidth';
3import { PropInjector } from '@material-ui/types';
4
5export interface WithMobileDialogOptions {
6 breakpoint: Breakpoint;
7}
8
9export interface WithMobileDialog extends WithWidth {
10 fullScreen: boolean;
11}
12
13/**
14 * @deprecated
15 */
16export interface InjectedProps extends WithMobileDialog {}
17
18export default function withMobileDialog<P = {}>(
19 options?: WithMobileDialogOptions
20): PropInjector<WithMobileDialog, Partial<WithMobileDialog>>;