Files
webstudio/packages/react-sdk/src/css/breakpoints.ts
T
2022-07-18 22:11:02 +02:00

11 lines
331 B
TypeScript

import { type Breakpoint } from "./types";
export type BaseBreakpoint = Pick<Breakpoint, "label" | "minWidth">;
export const initialBreakpoints: Array<BaseBreakpoint> = [
{ label: "Mobile", minWidth: 360 },
{ label: "Tablet", minWidth: 768 },
{ label: "Laptop", minWidth: 1024 },
{ label: "Desktop", minWidth: 1280 },
];