Completely updated React, fixed #11, (hopefully)
This commit is contained in:
22
goTorrentWebUI/node_modules/material-ui/utils/withWidth.d.ts
generated
vendored
22
goTorrentWebUI/node_modules/material-ui/utils/withWidth.d.ts
generated
vendored
@@ -8,14 +8,20 @@ export interface WithWidthProps {
|
||||
width: Breakpoint;
|
||||
}
|
||||
|
||||
export function isWidthUp(
|
||||
export function isWidthDown(
|
||||
breakpoint: Breakpoint,
|
||||
screenWidth: number,
|
||||
inclusive?: boolean
|
||||
screenWidth: Breakpoint,
|
||||
inclusive?: boolean,
|
||||
): boolean;
|
||||
|
||||
export default function withWidth<P = {}>(
|
||||
options?: WithWidthOptions
|
||||
): (
|
||||
component: React.ComponentType<P>
|
||||
) => React.ComponentClass<P & WithWidthProps>;
|
||||
export function isWidthUp(
|
||||
breakpoint: Breakpoint,
|
||||
screenWidth: Breakpoint,
|
||||
inclusive?: boolean,
|
||||
): boolean;
|
||||
|
||||
export default function withWidth(
|
||||
options?: WithWidthOptions,
|
||||
): <P>(
|
||||
component: React.ComponentType<P & WithWidthProps>,
|
||||
) => React.ComponentClass<P & Partial<WithWidthProps>>;
|
||||
|
Reference in New Issue
Block a user