Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/styles/variants.d.ts 411 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
  import { Interpolation } from '@mui/system';
  import { ComponentsPropsList } from "./props.js";
  export type ComponentsVariants<Theme = unknown> = { [Name in keyof ComponentsPropsList]?: Array<{
    props: Partial<ComponentsPropsList[Name]> | ((props: Partial<ComponentsPropsList[Name]> & {
      ownerState: Partial<ComponentsPropsList[Name]>;
    }) => boolean);
    style: Interpolation<{
      theme: Theme;
    }>;
  }> };