UNPKG

@snowball-tech/fractal

Version:

Fractal's (Snowball's design system) React component library based on RadixUI and PandaCSS

16 lines (13 loc) 438 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import * as react from 'react'; import { ReactNode } from 'react'; import { Themes } from './constants.js'; 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 };