@saleor/macaw-ui
Version:
Saleor's UI component library
14 lines (12 loc) • 420 B
TypeScript
import { DefaultTheme, ThemeTokensValues } from './themes';
type ThemeProviderProps = {
children: React.ReactNode;
defaultTheme: DefaultTheme;
};
export declare const ThemeContextProvider: ({ children, defaultTheme, }: ThemeProviderProps) => JSX.Element;
export declare const useTheme: () => {
theme: DefaultTheme;
setTheme: (to: DefaultTheme) => void;
themeValues: ThemeTokensValues;
};
export {};