@activelylearn/material-ui
Version:
Material-UI's workspace package
17 lines (13 loc) • 464 B
TypeScript
import { Breakpoint } from '../styles/createBreakpoints';
import { WithWidthProps } from '../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>>;