pretty-lights
Version:
CSS-in-JS with a reliable API
43 lines (42 loc) • 1.77 kB
TypeScript
export const flush: () => void;
export const hydrate: (ids: string[]) => void;
export const cx: (...classNames: (string | boolean | void | {
[key: string]: boolean | void;
} | (string | boolean | void | {
[key: string]: boolean | void;
} | (string | boolean | void | {
[key: string]: boolean | void;
} | (string | boolean | void | {
[key: string]: boolean | void;
} | (string | boolean | void | {
[key: string]: boolean | void;
} | (string | boolean | void | {
[key: string]: boolean | void;
} | (string | boolean | void | {
[key: string]: boolean | void;
} | (string | boolean | void | {
[key: string]: boolean | void;
} | (string | boolean | void | {
[key: string]: boolean | void;
} | (string | boolean | void | {
[key: string]: boolean | void;
} | (string | boolean | void | {
[key: string]: boolean | void;
} | (string | boolean | void | {
[key: string]: boolean | void;
} | any)[])[])[])[])[])[])[])[])[])[])[])[]) => string;
export const merge: any;
export const getRegisteredStyles: any;
export const injectGlobal: (...args: import("./types").Interpolations) => void;
export const keyframes: (...args: import("./types").Interpolations) => string;
export const css: (...args: import("./types").Interpolations) => string;
export const sheet: import("./types").StyleSheet;
export const cache: import("./types").PrettyLightsCache;
import { ThemeContext } from "./context";
import { ThemeProvider } from "./theming";
import { useTheme } from "./theming";
import { withTheme } from "./theming";
import { themeFn } from "./theming";
export const styled: import("./types").CreateStyled;
export const Global: any;
export { ThemeContext, ThemeProvider, useTheme, withTheme, themeFn };