Skip to content

Commit cbcea6a

Browse files
authoredDec 13, 2024··
fix: JSX namespace from React (#5830)
1 parent 6b4d616 commit cbcea6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/react-table/src/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export type Renderable<TProps> = React.ReactNode | React.ComponentType<TProps>
1818
export function flexRender<TProps extends object>(
1919
Comp: Renderable<TProps>,
2020
props: TProps
21-
): React.ReactNode | JSX.Element {
21+
): React.ReactNode | React.JSX.Element {
2222
return !Comp ? null : isReactComponent<TProps>(Comp) ? (
2323
<Comp {...props} />
2424
) : (

0 commit comments

Comments
 (0)
Please sign in to comment.