use-quantum-state • Docs
use-quantum-state / QuantumProvider
type QuantumProvider<T>: (props) => JSX.Element;
A special context provider that exposes its emitter via a ref. This allows for emitting events from either direction in the component tree.
Type Parameter | Description |
---|---|
The state shape. |
Parameter | Type | Description |
---|---|---|
|
|
JSX.Element
the provider element.