UNPKG

@compiled/react

Version:

A familiar and performant compile time CSS-in-JS library for React.

24 lines 642 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const error_1 = require("../utils/error"); /** * ## CSS Map * * Creates a collection of named styles that are statically typed and useable with other Compiled APIs. * For further details [read the documentation](https://compiledcssinjs.com/docs/api-cssmap). * * @example * ``` * const styles = cssMap({ * none: { borderStyle: 'none' }, * solid: { borderStyle: 'solid' }, * }); * * <div css={styles.solid} /> * ``` */ function cssMap(_styles) { throw (0, error_1.createSetupError)(); } exports.default = cssMap; //# sourceMappingURL=index.js.map