UNPKG

@compositive/foundation

Version:

Compositive framework foundation package.

12 lines 561 B
import type { NullablePartial } from "@compositive/commons-types"; import type { ReactElement } from "react"; import type React from "react"; import type { Theme, UnknownTheme } from "./Theme"; export declare namespace ThemeProvider { type Props<T extends UnknownTheme> = { theme: T; children: React.ReactNode; } & NullablePartial<Theme.InferVariants<T>>; } export declare const ThemeProvider: <T extends UnknownTheme>({ theme, children, ...variants }: ThemeProvider.Props<T>) => ReactElement; //# sourceMappingURL=ThemeProvider.d.ts.map