@material-ui/core
Version:
React components that implement Google's Material Design.
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>>;