VexDocumentProvider
VexDocumentProvider(
props):Element
Defined in: packages/react/src/documents/VexDocumentContext.tsx:52
Mounts VexDocumentContext for the subtree it wraps. CollectionEditView
and GlobalEditView (step 4) are the only callers — each recomputes
VexDocumentState from its own loaded document, form and permission state
and wraps its seven SlotOutlets with this provider.
Parameters
Section titled “Parameters”The resolved document state to provide, and the subtree that consumes it.
children
Section titled “children”ReactNode
Returns
Section titled “Returns”Element
The context provider wrapping props.children.