Skip to content

Commit

Permalink
test for #38034 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
sai6855 authored and michaldudak committed Jul 25, 2023
1 parent 0659a10 commit 0278a2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/mui-material/src/MenuItem/MenuItem.spec.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from 'react';
import MenuItem, { MenuItemProps } from '@mui/material/MenuItem';
import { expectType } from '@mui/types';
import Link from '@mui/material/Link';

const CustomComponent: React.FC<{ stringProp: string; numberProp: number }> =
function CustomComponent() {
Expand Down Expand Up @@ -61,6 +62,7 @@ const TestComponent = () => {
expectType<React.FormEvent<HTMLSpanElement>, typeof event>(event);
}}
/>
<MenuItem component={Link} />
</React.Fragment>
);
};

0 comments on commit 0278a2e

Please sign in to comment.