UNPKG

778 BTypeScriptView Raw
1import { MediaBreakpointProps } from "./Media";
2/**
3 * Extracts the single breakpoint prop from the props object.
4 */
5export declare function propKey(breakpointProps: MediaBreakpointProps): "at" | "lessThan" | "greaterThan" | "greaterThanOrEqual" | "between";
6/**
7 * Returns the intersection of two arrays.
8 */
9export declare function intersection(a1: ReadonlyArray<any>, a2?: ReadonlyArray<any>): any[];
10/**
11 * Generate a style rule for a given class name that will hide the element
12 * when the given query matches.
13 */
14export declare function createRuleSet(className: string, query: string): string;
15/**
16 * Given a list of strings, or string tuples, generates a class name.
17 */
18export declare function createClassName(...components: Array<string | [string, string]>): string;