@nivo/theming
Version:
8 lines • 411 B
TypeScript
import { PropsWithChildren } from 'react';
import { PartialTheme, Theme } from './types';
export declare const ThemeContext: import("react").Context<Theme | null>;
export declare const ThemeProvider: ({ theme: partialTheme, children, }: PropsWithChildren<{
theme: PartialTheme;
}>) => import("react/jsx-runtime").JSX.Element;
export declare const useTheme: () => Theme;
//# sourceMappingURL=context.d.ts.map