File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55 useImperativeHandle ,
66 useMemo ,
77 useState ,
8- type JSX ,
8+ type ReactElement ,
99 type ReactNode
1010} from "react" ;
1111import { useIsRtl } from "../../core/useIsRtl" ;
@@ -37,7 +37,7 @@ export function Grid<
3737 style,
3838 tagName = "div" as TagName ,
3939 ...rest
40- } : GridProps < CellProps , TagName > ) : JSX . Element {
40+ } : GridProps < CellProps , TagName > ) : ReactElement {
4141 const cellProps = useMemoizedObject ( cellPropsUnstable ) ;
4242 const CellComponent = useMemo (
4343 ( ) => memo ( CellComponentProp , arePropsEqual ) ,
Original file line number Diff line number Diff line change 55 useImperativeHandle ,
66 useMemo ,
77 useState ,
8- type JSX ,
8+ type ReactElement ,
99 type ReactNode
1010} from "react" ;
1111import { useVirtualizer } from "../../core/useVirtualizer" ;
@@ -36,7 +36,7 @@ export function List<
3636 tagName = "div" as TagName ,
3737 style,
3838 ...rest
39- } : ListProps < RowProps , TagName > ) : JSX . Element {
39+ } : ListProps < RowProps , TagName > ) : ReactElement {
4040 const rowProps = useMemoizedObject ( rowPropsUnstable ) ;
4141 const RowComponent = useMemo (
4242 ( ) => memo ( RowComponentProp , arePropsEqual ) ,
You can’t perform that action at this time.
0 commit comments