Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99942289
withWidth.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jan 27, 09:32
Size
712 B
Mime Type
text/x-java
Expires
Wed, Jan 29, 09:32 (2 d)
Engine
blob
Format
Raw Data
Handle
23819246
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
withWidth.d.ts
View Options
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>;
Event Timeline
Log In to Comment