Skip to main content

@lexical/react/LexicalErrorBoundary

Type Aliases

LexicalErrorBoundaryProps

LexicalErrorBoundaryProps = object

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

Properties

children

children: JSX.Element

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

onError()

onError: (error) => void

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

Parameters
error

Error

Returns

void

Functions

LexicalErrorBoundary()

LexicalErrorBoundary(__namedParameters): Element

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

Parameters

__namedParameters

LexicalErrorBoundaryProps

Returns

Element