We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a575e6 commit ea99673Copy full SHA for ea99673
packages/react/src/errorboundary.tsx
@@ -20,7 +20,7 @@ export type FallbackRender = (errorData: {
20
}) => React.ReactElement;
21
22
export type ErrorBoundaryProps = {
23
- children?: React.ReactNode | undefined;
+ children?: React.ReactNode | (() => React.ReactNode) | undefined;
24
/** If a Sentry report dialog should be rendered on error */
25
showDialog?: boolean;
26
/**
0 commit comments