diff --git a/packages/mui-material/src/AppBar/AppBar.d.ts b/packages/mui-material/src/AppBar/AppBar.d.ts index 2d0388405baca2..93be380f80e91b 100644 --- a/packages/mui-material/src/AppBar/AppBar.d.ts +++ b/packages/mui-material/src/AppBar/AppBar.d.ts @@ -1,16 +1,16 @@ import * as React from 'react'; import { SxProps } from '@mui/system'; -import { DistributiveOmit, OverridableStringUnion } from '@mui/types'; +import { OverridableStringUnion } from '@mui/types'; import { OverridableComponent, OverrideProps } from '@mui/material/OverridableComponent'; import { PropTypes, Theme } from '..'; -import { PaperProps } from '../Paper'; import { AppBarClasses } from './appBarClasses'; +import { ExtendPaperTypeMap } from '../Paper/Paper'; export interface AppBarPropsColorOverrides {} -export interface AppBarTypeMap
{
- props: P &
- DistributiveOmit = ExtendPaperTypeMap<
+ {
+ props: P & {
/**
* Override or extend the styles applied to the component.
*/
@@ -39,8 +39,10 @@ export interface AppBarTypeMap {
*/
sx?: SxProps