UNPKG

@compiled/react

Version:

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

21 lines 549 B
import { createSetupError } from '../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} /> * ``` */ export default function cssMap(_styles) { throw createSetupError(); } //# sourceMappingURL=index.js.map