Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
hbjORbj committed Apr 27, 2023
1 parent 200cddb commit f0cdf69
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions packages/mui-base/src/MenuItem/MenuItem.types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';
import { OverrideProps, Simplify } from '@mui/types';
import { SlotComponentProps } from '../utils';
import { Simplify } from '@mui/types';
import { PolymorphicProps, SlotComponentProps } from '../utils';

export interface MenuItemRootSlotPropsOverrides {}

Expand Down Expand Up @@ -59,9 +59,7 @@ export interface MenuItemTypeMap<

export type MenuItemProps<
RootComponentType extends React.ElementType = MenuItemTypeMap['defaultComponent'],
> = OverrideProps<MenuItemTypeMap<{}, RootComponentType>, RootComponentType> & {
component?: RootComponentType;
};
> = PolymorphicProps<MenuItemTypeMap<{}, RootComponentType>, RootComponentType>;

export interface MenuItemState {
disabled: boolean;
Expand Down

0 comments on commit f0cdf69

Please sign in to comment.