1
0
Fork 0
react-playground/node_modules/@mui/material/useMediaQuery/index.d.ts

7 lines
No EOL
478 B
TypeScript

import { UseMediaQueryOptions } from '@mui/system/useMediaQuery';
import { Theme } from "../styles/createTheme.js";
export * from '@mui/system/useMediaQuery';
// TODO v7: remove the generic. It's only used to prevent a breaking change in v6 from system's useMediaQuery in https://github.com/mui/material-ui/pull/44339.
declare function useMediaQuery<T = Theme>(queryInput: string | ((theme: T) => string), options?: UseMediaQueryOptions): boolean;
export default useMediaQuery;