File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
packages/@react-stately/table/src Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11
11
*/
12
12
13
13
import { CellProps } from '@react-types/table' ;
14
- import { JSX } from 'react' ;
14
+ import { JSX , ReactElement } from 'react' ;
15
15
import { PartialNode } from '@react-stately/collections' ;
16
16
17
- function Cell ( props : CellProps ) : JSX . Element | null { // eslint-disable-line @typescript-eslint/no-unused-vars
17
+ function Cell ( props : CellProps ) : ReactElement | null { // eslint-disable-line @typescript-eslint/no-unused-vars
18
18
return null ;
19
19
}
20
20
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import {GridNode} from '@react-types/grid';
16
16
import { PartialNode } from '@react-stately/collections' ;
17
17
import React , { JSX , ReactElement } from 'react' ;
18
18
19
- function Column < T > ( props : ColumnProps < T > ) : JSX . Element | null { // eslint-disable-line @typescript-eslint/no-unused-vars
19
+ function Column < T > ( props : ColumnProps < T > ) : ReactElement | null { // eslint-disable-line @typescript-eslint/no-unused-vars
20
20
return null ;
21
21
}
22
22
Original file line number Diff line number Diff line change 12
12
13
13
import { CollectionBuilderContext } from './useTableState' ;
14
14
import { PartialNode } from '@react-stately/collections' ;
15
- import React , { JSX } from 'react' ;
15
+ import React , { JSX , ReactElement } from 'react' ;
16
16
import { RowProps } from '@react-types/table' ;
17
17
18
- function Row < T > ( props : RowProps < T > ) : JSX . Element | null { // eslint-disable-line @typescript-eslint/no-unused-vars
18
+ function Row < T > ( props : RowProps < T > ) : ReactElement | null { // eslint-disable-line @typescript-eslint/no-unused-vars
19
19
return null ;
20
20
}
21
21
Original file line number Diff line number Diff line change 11
11
*/
12
12
13
13
import { PartialNode } from '@react-stately/collections' ;
14
- import React , { JSX } from 'react' ;
14
+ import React , { JSX , ReactElement } from 'react' ;
15
15
import { TableBodyProps } from '@react-types/table' ;
16
16
17
- function TableBody < T > ( props : TableBodyProps < T > ) : JSX . Element | null { // eslint-disable-line @typescript-eslint/no-unused-vars
17
+ function TableBody < T > ( props : TableBodyProps < T > ) : ReactElement | null { // eslint-disable-line @typescript-eslint/no-unused-vars
18
18
return null ;
19
19
}
20
20
Original file line number Diff line number Diff line change 12
12
13
13
import { CollectionBuilderContext } from './useTableState' ;
14
14
import { PartialNode } from '@react-stately/collections' ;
15
- import React , { JSX } from 'react' ;
15
+ import React , { JSX , ReactElement } from 'react' ;
16
16
import { TableHeaderProps } from '@react-types/table' ;
17
17
18
- function TableHeader < T > ( props : TableHeaderProps < T > ) : JSX . Element | null { // eslint-disable-line @typescript-eslint/no-unused-vars
18
+ function TableHeader < T > ( props : TableHeaderProps < T > ) : ReactElement | null { // eslint-disable-line @typescript-eslint/no-unused-vars
19
19
return null ;
20
20
}
21
21
You can’t perform that action at this time.
0 commit comments