@tempots/dom
WithProviders() function
Renders the given child with the specified providers.
Signature:
WithProviders: extends unknown[]>(providers: { [K in ProviderMarknumber]>]: T[number]; }, child: TNode) => Renderable
Parameters
Parameter |
Type |
Description |
---|---|---|
providers |
{ [K in ProviderMark |
An object containing the providers. |
child |
The child to render. |
Returns: Renderable
The rendered result.