paradiego
This commit is contained in:
33
node_modules/@mui/material/Hidden/withWidth.d.ts
generated
vendored
Normal file
33
node_modules/@mui/material/Hidden/withWidth.d.ts
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
import { Breakpoint } from '@mui/system';
|
||||
import { PropInjector } from '@mui/types';
|
||||
|
||||
export interface WithWidthOptions {
|
||||
withTheme?: boolean;
|
||||
noSSR?: boolean;
|
||||
initialWidth?: Breakpoint;
|
||||
resizeInterval?: number;
|
||||
}
|
||||
|
||||
export interface WithWidth {
|
||||
width: Breakpoint;
|
||||
}
|
||||
|
||||
export interface WithWidthProps extends Partial<WithWidth> {
|
||||
innerRef?: React.Ref<any>;
|
||||
}
|
||||
|
||||
export function isWidthDown(
|
||||
breakpoint: Breakpoint,
|
||||
screenWidth: Breakpoint,
|
||||
inclusive?: boolean,
|
||||
): boolean;
|
||||
|
||||
export function isWidthUp(
|
||||
breakpoint: Breakpoint,
|
||||
screenWidth: Breakpoint,
|
||||
inclusive?: boolean,
|
||||
): boolean;
|
||||
|
||||
export default function withWidth(
|
||||
options?: WithWidthOptions,
|
||||
): PropInjector<WithWidth, WithWidthProps>;
|
||||
Reference in New Issue
Block a user