UNPKG

@compiled/react

Version:

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

28 lines (27 loc) 1.68 kB
import { createElement } from 'react'; import type { CompiledJSX } from './jsx/jsx-local-namespace.js'; export { ClassNames } from './class-names/index.js'; export { StyleContainerProvider } from './runtime/style.js'; export type { StyleContainerConfig } from './runtime/style.js'; export { createStrictAPI } from './create-strict-api/index.js'; export type { PseudosDeclarations, MediaQueries, AllowedStyles, ApplySchema, ApplySchemaMap, } from './create-strict-api/types.js'; export { default as css } from './css/index.js'; export { default as cssMap } from './css-map/index.js'; export { keyframes } from './keyframes/index.js'; export { styled, StyledProps } from './styled/index.js'; export type { CSSProperties, CSSProps, CSSPseudos, CssFunction, CssType, StrictCSSProperties, } from './types.js'; export { type XCSSAllProperties, type XCSSAllPseudos, type XCSSProp, type CompiledStyles, type Internal$XCSSProp, cx, } from './xcss-prop/index.js'; export declare const jsx: typeof createElement; export declare namespace jsx { namespace JSX { type Element = CompiledJSX.Element; type ElementType = CompiledJSX.ElementType; type ElementClass = CompiledJSX.ElementClass; type ElementAttributesProperty = CompiledJSX.ElementAttributesProperty; type ElementChildrenAttribute = CompiledJSX.ElementChildrenAttribute; type LibraryManagedAttributes<C, P> = CompiledJSX.LibraryManagedAttributes<C, P>; type IntrinsicAttributes = CompiledJSX.IntrinsicAttributes; type IntrinsicClassAttributes<T> = CompiledJSX.IntrinsicClassAttributes<T>; type IntrinsicElements = CompiledJSX.IntrinsicElements; } }