ProviderTree
Callable
Type parameters
- Providers: [ContainsChildren, ...ContainsChildren[]]
Parameters
__namedParameters: { children: ReactNode; providers: { [ K in string | number | symbol ]: [provider: JSXElementConstructor<Providers[K]>, props?: Omit<NoInfer<Providers[K]>, children>] } }
Returns ReactNode
The provider tree with the given providers and children.
Creates a provider tree with the given providers and children.
When there are no providers provided.