UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

17 lines (16 loc) 591 B
import { PropsWithChildren } from 'react'; import { ColorModes, CustomThemes } from '../../context/theme'; import { CerberusPrimitiveProps } from '../../system'; export interface ThemeProps<T extends string> { /** * The color mode to apply to the theme. * @default 'light' */ mode?: ColorModes; /** * The theme to apply to the component. * @default 'cerberus' */ theme?: CustomThemes<T>; } export declare function Theme<T extends string>(props: PropsWithChildren<CerberusPrimitiveProps<ThemeProps<T>>>): import("react/jsx-runtime").JSX.Element;