Skip to content

Commit

Permalink
fix: JSX namespace from React (#5830)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrginglymus authored Dec 13, 2024
1 parent 6b4d616 commit cbcea6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-table/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type Renderable<TProps> = React.ReactNode | React.ComponentType<TProps>
export function flexRender<TProps extends object>(
Comp: Renderable<TProps>,
props: TProps
): React.ReactNode | JSX.Element {
): React.ReactNode | React.JSX.Element {
return !Comp ? null : isReactComponent<TProps>(Comp) ? (
<Comp {...props} />
) : (
Expand Down

0 comments on commit cbcea6a

Please sign in to comment.