Blame view

天文台pc/tianwentai-ui/node_modules/@mui/system/styleFunctionSx/defaultSxConfig.d.ts 561 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  import { StyleFunction, TransformFunction } from "../style/index.js";
  type SimpleStyleFunction<PropKey extends keyof any> = StyleFunction<Partial<Record<PropKey, any>>>;
  export interface SxConfigRecord {
    cssProperty?: keyof React.CSSProperties | false | undefined;
    /**
     * dot access in `Theme`
     */
    themeKey?: string | undefined;
    transform?: TransformFunction | undefined;
    style?: SimpleStyleFunction<any> | undefined;
  }
  export type SxConfig = Record<string, SxConfigRecord>;
  declare const defaultSxConfig: SxConfig;
  export default defaultSxConfig;