Completely updated React, fixed #11, (hopefully)
This commit is contained in:
23
goTorrentWebUI/node_modules/material-ui/styles/createBreakpoints.d.ts
generated
vendored
23
goTorrentWebUI/node_modules/material-ui/styles/createBreakpoints.d.ts
generated
vendored
@@ -2,22 +2,21 @@ export type Breakpoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
||||
export type BreakpointValues = { [key in Breakpoint]: number };
|
||||
export const keys: Breakpoint[];
|
||||
|
||||
export interface BreakpointsOptions {
|
||||
values: BreakpointValues;
|
||||
unit: string;
|
||||
step: number;
|
||||
}
|
||||
|
||||
export interface Breakpoints {
|
||||
keys: typeof keys;
|
||||
keys: Breakpoint[];
|
||||
values: BreakpointValues;
|
||||
up: (key: Breakpoint | number) => string;
|
||||
down: (key: Breakpoint | number) => string;
|
||||
up: (key: Breakpoint | number) => string;
|
||||
down: (key: Breakpoint | number) => string;
|
||||
between: (start: Breakpoint, end: Breakpoint) => string;
|
||||
only: (key: Breakpoint) => string;
|
||||
width: (key: Breakpoint) => number;
|
||||
}
|
||||
|
||||
export default function createBreakpoints(
|
||||
options: Partial<BreakpointsOptions> & Partial<Breakpoints>
|
||||
): Breakpoints;
|
||||
export type BreakpointsOptions = Partial<
|
||||
{
|
||||
unit: string;
|
||||
step: number;
|
||||
} & Breakpoints
|
||||
>;
|
||||
|
||||
export default function createBreakpoints(options: BreakpointsOptions): Breakpoints;
|
||||
|
Reference in New Issue
Block a user