style: enable react/react-in-jsx-scope lint rule (#1107)

This commit is contained in:
Himself65
2023-02-17 20:09:52 -06:00
committed by GitHub
parent 5f0015f522
commit 6378547a0e
28 changed files with 34 additions and 51 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
import { TooltipProps } from '@mui/material';
import React from 'react';
import { Popper, type PopperProps } from '../popper';
import { StyledMenuWrapper } from './styles';
export const Menu = (props: PopperProps & Omit<TooltipProps, 'title'>) => {
const { content, placement = 'bottom-start', children } = props;
return content ? (
+1 -1
View File
@@ -5,9 +5,9 @@ import {
PropsWithChildren,
ReactElement,
} from 'react';
import React from 'react';
import { StyledArrow, StyledMenuItem } from './styles';
export type IconMenuProps = PropsWithChildren<{
isDir?: boolean;
icon?: ReactElement;