Skip to main content

@lexical/react/LexicalErrorBoundary

Type Aliases​

LexicalErrorBoundaryProps​

LexicalErrorBoundaryProps = object

Defined in: packages/lexical-react/src/LexicalErrorBoundary.tsx:12

Properties​

children​

children: JSX.Element

Defined in: packages/lexical-react/src/LexicalErrorBoundary.tsx:13

onError​

onError: (error, info) => void

Defined in: packages/lexical-react/src/LexicalErrorBoundary.tsx:14

Parameters​
error​

Error

info​

ErrorInfo

Returns​

void

Functions​

LexicalErrorBoundary()​

LexicalErrorBoundary(__namedParameters): Element

Defined in: packages/lexical-react/src/LexicalErrorBoundary.tsx:17

Parameters​

__namedParameters​

LexicalErrorBoundaryProps

Returns​

Element