File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ import {
2
2
ListItemText as MuiListItemText ,
3
3
ListItemTextProps as MuiListItemTextProps
4
4
} from '@mui/material' ;
5
- import React from 'react' ;
6
5
7
- const ListItemText = React . forwardRef < HTMLDivElement , MuiListItemTextProps > ( ( props , ref ) => {
8
- return < MuiListItemText { ...props } ref = { ref } /> ;
9
- } ) ;
10
-
11
- export { ListItemText } ;
6
+ export function ListItemText ( props : MuiListItemTextProps ) : JSX . Element {
7
+ return < MuiListItemText { ...props } /> ;
8
+ }
Original file line number Diff line number Diff line change 1
1
import { Tooltip as MuiTooltip , type TooltipProps as MuiTooltipProps } from '@mui/material' ;
2
- import React from 'react' ;
3
2
4
- const Tooltip = React . forwardRef < HTMLDivElement , MuiTooltipProps > ( ( props , ref ) => {
5
- return < MuiTooltip { ...props } ref = { ref } /> ;
6
- } ) ;
3
+ export function Tooltip ( props : MuiTooltipProps ) : JSX . Element {
4
+ return < MuiTooltip { ...props } /> ;
5
+ }
7
6
8
7
export default Tooltip ;
You can’t perform that action at this time.
0 commit comments