Files
wdi-dashboard/node_modules/@chakra-ui/theme-tools/dist/create-breakpoints.d.mts
2024-08-16 15:06:52 +05:30

18 lines
464 B
TypeScript

interface BaseBreakpointConfig {
sm: string;
md: string;
lg: string;
xl: string;
"2xl"?: string;
[key: string]: string | undefined;
}
type Breakpoints<T> = T & {
base: "0em";
};
/**
* @deprecated will be deprecated pretty soon, simply pass the breakpoints as an object
*/
declare const createBreakpoints: <T extends BaseBreakpointConfig>(config: T) => Breakpoints<T>;
export { BaseBreakpointConfig, Breakpoints, createBreakpoints };