Skip to main content

@lexical/react/LexicalErrorBoundary

Type Aliases​

LexicalErrorBoundaryProps​

LexicalErrorBoundaryProps = object

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

Properties​

children​

children: JSX.Element

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

onError​

onError: (error) => void

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

Parameters​
error​

Error

Returns​

void

Functions​

LexicalErrorBoundary()​

LexicalErrorBoundary(__namedParameters): Element

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

Parameters​

__namedParameters​

LexicalErrorBoundaryProps

Returns​

Element