Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120817302
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, Jul 7, 07:34
Size
712 B
Mime Type
text/x-java
Expires
Wed, Jul 9, 07:34 (2 d)
Engine
blob
Format
Raw Data
Handle
27254475
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