Skip to content

Commit

Permalink
remove instances of paperbaseprops
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 committed Jul 17, 2023
1 parent d106afb commit 9a6533b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/mui-material/src/Card/Card.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { SxProps } from '@mui/system';
import { DistributiveOmit } from '@mui/types';
import { OverridableComponent, OverrideProps } from '@mui/material/OverridableComponent';
import { Theme } from '..';
import { PaperBaseProps } from '../Paper';
import { PaperOwnProps } from '../Paper';
import { CardClasses } from './cardClasses';

// TODO: v6 remove this interface, it is not used
export interface CardPropsColorOverrides {}

export interface CardTypeMap<P = {}, D extends React.ElementType = 'div'> {
props: P &
DistributiveOmit<PaperBaseProps, 'classes'> & {
DistributiveOmit<PaperOwnProps, 'classes'> & {
/**
* Override or extend the styles applied to the component.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/src/Paper/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export { default } from './Paper';
export type { PaperProps, PaperPropsVariantOverrides, PaperTypeMap, PaperBaseProps } from './Paper';
export type { PaperProps, PaperPropsVariantOverrides, PaperTypeMap, PaperOwnProps } from './Paper';

export { default as paperClasses } from './paperClasses';
export * from './paperClasses';

0 comments on commit 9a6533b

Please sign in to comment.