@lexical/react/LexicalCollaborationContext
Functions
LexicalCollaboration()
LexicalCollaboration(
__namedParameters):Element
Defined in: packages/lexical-react/src/LexicalCollaborationContext.tsx:30
A provider component that creates a fresh CollaborationContextType and makes it available to descendant editors via CollaborationContext. Wrap a group of editors that should share collaboration state in this component.
Parameters
__namedParameters
children
ReactNode
Returns
Element
A context provider wrapping children.
References
CollaborationContext
Re-exports CollaborationContext
CollaborationContextType
Re-exports CollaborationContextType
useCollaborationContext
Re-exports useCollaborationContext