FrontPastel/node_modules/@mui/material/Unstable_Grid2/Grid2Props.d.ts

16 lines
619 B
TypeScript

import * as React from 'react';
import { OverrideProps } from '@mui/types';
import { SxProps, SystemProps } from '@mui/system';
import { GridBaseProps } from '@mui/system/Unstable_Grid';
import { Theme } from '../styles';
export type Grid2Slot = 'root';
export interface Grid2TypeMap<P = {}, D extends React.ElementType = 'div'> {
props: P & GridBaseProps & {
sx?: SxProps<Theme>;
} & SystemProps<Theme>;
defaultComponent: D;
}
export type Grid2Props<D extends React.ElementType = Grid2TypeMap['defaultComponent'], P = {
component?: React.ElementType;
}> = OverrideProps<Grid2TypeMap<P, D>, D>;