Skip to content

Commit 1a575e6

Browse files
committed
Add children prop to ErrorBoundary prop type alias
1 parent 4e722eb commit 1a575e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react/src/errorboundary.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export type FallbackRender = (errorData: {
2020
}) => React.ReactElement;
2121

2222
export type ErrorBoundaryProps = {
23+
children?: React.ReactNode | undefined;
2324
/** If a Sentry report dialog should be rendered on error */
2425
showDialog?: boolean;
2526
/**

0 commit comments

Comments
 (0)