UNPKG

@compiled/react

Version:

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

14 lines (13 loc) 484 B
import { type JSX } from 'react'; import { StyleContainerProvider } from './style-container.js'; import type { StyleSheetOpts } from './types.js'; export { StyleContainerProvider }; export type { StyleContainerConfig } from './style-container.js'; interface StyleProps extends StyleSheetOpts { /** * CSS Rules. * Ensure each rule is a separate element in the array. */ children: string[]; } export default function Style(props: StyleProps): JSX.Element | null;