Files
goTorrent/goTorrentWebUI/node_modules/material-ui/es/styles/createBreakpoints.d.ts

24 lines
690 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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;
values: BreakpointValues;
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;