Blame view

天文台pc/tianwentai-ui/node_modules/@mui/system/esm/memoTheme.d.ts 634 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
  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 {};