Blame view

天文台pc/tianwentai-ui/node_modules/@mui/system/Grid/deleteLegacyGridProps.d.ts 558 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
  import { Breakpoint, Breakpoints } from "../createTheme/index.js";
  /**
   * Deletes the legacy Grid component props from the `props` object and warns once about them if found.
   *
   * @param {object} props The props object to remove the legacy Grid props from.
   * @param {Breakpoints} breakpoints The breakpoints object.
   */
  export default function deleteLegacyGridProps(props: {
    item?: boolean | undefined;
    zeroMinWidth?: boolean | undefined;
  } & Partial<Record<Breakpoint, 'auto' | number | boolean>> & Record<string, any>, breakpoints: Breakpoints): void;