@compiled/react
Version:
A familiar and performant compile time CSS-in-JS library for React.
26 lines (25 loc) • 1.48 kB
TypeScript
import { createElement } from 'react';
import type { CompiledJSX } from './jsx/jsx-local-namespace';
export { ClassNames } from './class-names';
export { createStrictAPI } from './create-strict-api';
export type { PseudosDeclarations, MediaQueries, AllowedStyles, ApplySchema, ApplySchemaMap, } from './create-strict-api/types';
export { default as css } from './css';
export { default as cssMap } from './css-map';
export { keyframes } from './keyframes';
export { styled, StyledProps } from './styled';
export type { CSSProperties, CSSProps, CSSPseudos, CssFunction, CssType, StrictCSSProperties, } from './types';
export { type XCSSAllProperties, type XCSSAllPseudos, type XCSSProp, type CompiledStyles, type Internal$XCSSProp, cx, } from './xcss-prop';
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;
}
}