We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b4d616 commit cbcea6aCopy full SHA for cbcea6a
packages/react-table/src/index.tsx
@@ -18,7 +18,7 @@ export type Renderable<TProps> = React.ReactNode | React.ComponentType<TProps>
18
export function flexRender<TProps extends object>(
19
Comp: Renderable<TProps>,
20
props: TProps
21
-): React.ReactNode | JSX.Element {
+): React.ReactNode | React.JSX.Element {
22
return !Comp ? null : isReactComponent<TProps>(Comp) ? (
23
<Comp {...props} />
24
) : (
0 commit comments