@snowball-tech/fractal
Version:
Fractal's (Snowball's design system) React component library based on RadixUI and PandaCSS
17 lines (14 loc) • 507 B
TypeScript
import * as react_jsx_runtime from 'react/jsx-runtime';
import * as react from 'react';
import { ReactNode } from 'react';
import { Themes } from './constants.js';
import '@snowball-tech/design-tokens/dist/web/typescript/constants';
declare const ThemeContext: react.Context<{
theme: Themes;
}>;
type Props = {
children: ReactNode;
theme: Themes;
};
declare function ThemeProvider({ children, theme, }: Props): react_jsx_runtime.JSX.Element;
export { ThemeContext, ThemeProvider as default };