UNPKG

tss-react

Version:

Type safe CSS-in-JS API heavily inspired by react-jss

17 lines (16 loc) 363 B
import type { Cx, Css } from "./types"; import type { EmotionCache } from "@emotion/cache"; export declare const createCssAndCx: (params: { cache: EmotionCache; }) => { css: Css; cx: Cx; }; export declare function createUseCssAndCx(params: { useCache: () => EmotionCache; }): { useCssAndCx: () => { css: Css; cx: Cx; }; };