paradiego
This commit is contained in:
20
node_modules/@mui/material/styles/stringifyTheme.d.ts
generated
vendored
Normal file
20
node_modules/@mui/material/styles/stringifyTheme.d.ts
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* `baseTheme` usually comes from `createTheme` or `extendTheme`.
|
||||
*
|
||||
* This function is intended to be used with zero-runtime CSS-in-JS like Pigment CSS
|
||||
* For example, in a Next.js project:
|
||||
*
|
||||
* ```js
|
||||
* // next.config.js
|
||||
* const { extendTheme } = require('@mui/material/styles');
|
||||
*
|
||||
* const theme = extendTheme();
|
||||
* // `.toRuntimeSource` is Pigment CSS specific to create a theme that is available at runtime.
|
||||
* theme.toRuntimeSource = stringifyTheme;
|
||||
*
|
||||
* module.exports = withPigment({
|
||||
* theme,
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
export declare function stringifyTheme(baseTheme?: Record<string, any>): string;
|
||||
Reference in New Issue
Block a user