Skip to content

VexConfigProvider

VexConfigProvider(props): Element

Defined in: packages/react/src/config/VexConfigContext.tsx:52

Mounts VexConfigContext for the subtree it wraps. The app’s root ClientProviders is the only caller — it imports ~/vex.config directly so the config’s callbacks (access, storage.clientUploads, and admin.livePreview.url resolvers) survive into the client bundle.

The resolved client config to provide, and the subtree that consumes it.

ReactNode

VexClientConfig

Element

The context provider wrapping props.children.