Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/internal/index.d.ts 737 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  import { DistributiveOmit } from '@mui/types';
  import { StyledComponentProps } from "../styles/index.js";
  /**
   * @internal
   * ONLY USE FROM WITHIN mui/material-ui
   *
   * Internal helper type for conform (describeConformance) components
   * However, we don't declare classes on this type.
   * It is recommended to declare them manually with an interface so that each class can have a separate JSDoc.
   */
  export type InternalStandardProps<ComponentProps, Removals extends keyof ComponentProps = never> = DistributiveOmit<ComponentProps, 'classes' | Removals> & StyledComponentProps<never> & {
    ref?: ComponentProps extends {
      ref?: infer RefType;
    } ? RefType : React.Ref<unknown>;
    className?: string;
    style?: React.CSSProperties;
  };