import { OverrideProps } from '@mui/types'; import * as React from 'react'; import { SxProps } from '../styles/types'; import { SlotProps, CreateSlotsAndSlotProps } from '../utils/types'; export type CardCoverSlot = 'root'; export interface CardCoverSlots { /** * The component that renders the root. * @default 'div' */ root?: React.ElementType; } export type CardCoverSlotsAndSlotProps = CreateSlotsAndSlotProps; }>; export interface CardCoverTypeMap

{ props: P & { /** * Used to render icon or text elements inside the CardCover if `src` is not set. * This can be an element, or just a string. */ children?: React.ReactNode; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; } & CardCoverSlotsAndSlotProps; defaultComponent: D; } export type CardCoverProps = OverrideProps, D>; export interface CardCoverOwnerState extends CardCoverProps { }