@mui/system
Version:
MUI System is a set of CSS utilities to help you build custom designs more efficiently. It makes it possible to rapidly lay out custom designs.
12 lines • 634 B
TypeScript
import { CSSInterpolation } from '@mui/styled-engine';
type ThemeStyleFunction<T> = (props: {
theme: T;
}) => CSSInterpolation;
/**
* Memoize style function on theme.
* Intended to be used in styled() calls that only need access to the theme.
*/
export default function unstable_memoTheme<T>(styleFn: ThemeStyleFunction<T>): (props: {
theme: T;
}) => string | number | boolean | import("@mui/styled-engine").ComponentSelector | import("@mui/styled-engine").Keyframes | import("@mui/styled-engine").SerializedStyles | import("@mui/styled-engine").CSSObject | import("@mui/styled-engine").ArrayCSSInterpolation | null;
export {};