File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,10 +2,7 @@ import {
22 ListItemText as MuiListItemText ,
33 ListItemTextProps as MuiListItemTextProps
44} from '@mui/material' ;
5- import React from 'react' ;
65
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 11import { Tooltip as MuiTooltip , type TooltipProps as MuiTooltipProps } from '@mui/material' ;
2- import React from 'react' ;
32
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+ }
76
87export default Tooltip ;
You can’t perform that action at this time.
0 commit comments