Skip to content

Commit 52d1c45

Browse files
committed
Fix docs build
1 parent 384b69b commit 52d1c45

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

packages/@react-stately/table/src/Cell.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
*/
1212

1313
import {CellProps} from '@react-types/table';
14-
import {JSX} from 'react';
14+
import {JSX, ReactElement} from 'react';
1515
import {PartialNode} from '@react-stately/collections';
1616

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
1818
return null;
1919
}
2020

packages/@react-stately/table/src/Column.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {GridNode} from '@react-types/grid';
1616
import {PartialNode} from '@react-stately/collections';
1717
import React, {JSX, ReactElement} from 'react';
1818

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
2020
return null;
2121
}
2222

packages/@react-stately/table/src/Row.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
import {CollectionBuilderContext} from './useTableState';
1414
import {PartialNode} from '@react-stately/collections';
15-
import React, {JSX} from 'react';
15+
import React, {JSX, ReactElement} from 'react';
1616
import {RowProps} from '@react-types/table';
1717

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
1919
return null;
2020
}
2121

packages/@react-stately/table/src/TableBody.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
*/
1212

1313
import {PartialNode} from '@react-stately/collections';
14-
import React, {JSX} from 'react';
14+
import React, {JSX, ReactElement} from 'react';
1515
import {TableBodyProps} from '@react-types/table';
1616

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
1818
return null;
1919
}
2020

packages/@react-stately/table/src/TableHeader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212

1313
import {CollectionBuilderContext} from './useTableState';
1414
import {PartialNode} from '@react-stately/collections';
15-
import React, {JSX} from 'react';
15+
import React, {JSX, ReactElement} from 'react';
1616
import {TableHeaderProps} from '@react-types/table';
1717

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
1919
return null;
2020
}
2121

0 commit comments

Comments
 (0)