@snowball-tech/fractal
Version:
Fractal's (Snowball's design system) React component library based on RadixUI and TailwindCSS
20 lines (19 loc) • 533 B
TypeScript
import { Themes } from "./constants.js";
import * as _$react from "react";
import { ReactNode } from "react";
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
//#region src/ThemeProvider.d.ts
declare const ThemeContext: _$react.Context<{
theme: Themes;
}>;
type Props = {
children: ReactNode;
theme: Themes;
};
declare function ThemeProvider({
children,
theme
}: Props): _$react_jsx_runtime0.JSX.Element;
//#endregion
export { ThemeContext, ThemeProvider as default };
//# sourceMappingURL=ThemeProvider.d.ts.map