@crossed/styled
Version:
A universal & performant styling library for React Native, Next.js & React
19 lines • 749 B
TypeScript
/**
* Copyright (c) Paymium.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root of this projects source tree.
*/
import type { CrossedstyleValues, Plugin } from '../types';
export declare let cacheBreakpoints: Partial<Record<'xs' | 'sm' | 'md' | 'lg' | 'xl', number>>;
export interface CrossedMediaQueriesPlugin {
media?: {
xs?: CrossedstyleValues;
sm?: CrossedstyleValues;
md?: CrossedstyleValues;
lg?: CrossedstyleValues;
xl?: CrossedstyleValues;
};
}
export declare const MediaQueriesPlugin: <B extends Record<"xs" | "sm" | "md" | "lg" | "xl", number>>(breakpoints: B) => Plugin<CrossedMediaQueriesPlugin>;
//# sourceMappingURL=MediaQueries.d.ts.map