StorageAdapterContextProvider
StorageAdapterContextProvider(
props):Element
Defined in: packages/react/src/context/StorageAdapterContext.tsx:26
Provides the ClientUploadMap to all components under the admin layout.
Pass one entry per registered storage adapter keyed by its name slug.
MediaUploadDropzone reads the map via useStorageAdapterMap() to call
the correct client-side uploadFile function for a given adapter.
Parameters
Section titled “Parameters”The subtree needing adapter access, and the map of adapter
name → uploadFile function to provide.
adapterClients
Section titled “adapterClients”children
Section titled “children”ReactNode
Returns
Section titled “Returns”Element
The context provider wrapping props.children.