paradiego
This commit is contained in:
13
node_modules/@mui/material/utils/memoTheme.d.ts
generated
vendored
Normal file
13
node_modules/@mui/material/utils/memoTheme.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { CSSInterpolation } from '@mui/system';
|
||||
import { Theme } from '../styles/createTheme';
|
||||
type ThemeStyleFunction = (props: {
|
||||
theme: Theme;
|
||||
}) => CSSInterpolation;
|
||||
/**
|
||||
* Memoize style function on theme.
|
||||
* Intended to be used in styled() calls that only need access to the theme.
|
||||
*/
|
||||
export default function memoTheme(styleFn: ThemeStyleFunction): (props: {
|
||||
theme: Theme;
|
||||
}) => CSSInterpolation;
|
||||
export {};
|
||||
Reference in New Issue
Block a user