next-yak
Version:
next-yak is a CSS-in-JS solution tailored for Next.js that seamlessly combines the expressive power of styled-components syntax with efficient build-time extraction of CSS using Next.js's built-in CSS configuration
25 lines (24 loc) • 670 B
TypeScript
import React, { ReactNode } from "react";
//#region runtime/context/index.d.ts
interface YakTheme {}
/**
* Returns the current yak theme context
*
* @see https://github.com/DigitecGalaxus/next-yak/blob/main/packages/next-yak/runtime/context/README.md
*/
declare const useTheme: () => YakTheme;
/**
* Yak theme context provider
*
* @see https://github.com/DigitecGalaxus/next-yak/blob/main/packages/next-yak/runtime/context/README.md
*/
declare const YakThemeProvider: ({
children,
theme
}: {
children: ReactNode;
theme?: YakTheme;
}) => React.JSX.Element;
//#endregion
export { YakTheme, YakThemeProvider, useTheme };
//# sourceMappingURL=index.d.ts.map