This repository has been archived on 2024-09-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
front/node_modules/@mui/material/utils/memoTheme.d.ts
2024-09-18 13:34:19 -03:00

14 lines
421 B
TypeScript

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 {};