File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 55 useImperativeHandle ,
66 useMemo ,
77 useState ,
8+ type JSX ,
89 type ReactNode
910} from "react" ;
1011import { useIsRtl } from "../../core/useIsRtl" ;
@@ -36,7 +37,7 @@ export function Grid<
3637 style,
3738 tagName = "div" as TagName ,
3839 ...rest
39- } : GridProps < CellProps , TagName > ) {
40+ } : GridProps < CellProps , TagName > ) : JSX . Element {
4041 const cellProps = useMemoizedObject ( cellPropsUnstable ) ;
4142 const CellComponent = useMemo (
4243 ( ) => memo ( CellComponentProp , arePropsEqual ) ,
Original file line number Diff line number Diff line change 55 useImperativeHandle ,
66 useMemo ,
77 useState ,
8+ type JSX ,
89 type ReactNode
910} from "react" ;
1011import { useVirtualizer } from "../../core/useVirtualizer" ;
@@ -35,7 +36,7 @@ export function List<
3536 tagName = "div" as TagName ,
3637 style,
3738 ...rest
38- } : ListProps < RowProps , TagName > ) {
39+ } : ListProps < RowProps , TagName > ) : JSX . Element {
3940 const rowProps = useMemoizedObject ( rowPropsUnstable ) ;
4041 const RowComponent = useMemo (
4142 ( ) => memo ( RowComponentProp , arePropsEqual ) ,
You can’t perform that action at this time.
0 commit comments