ImFusionProvider
ts
Initializes the ImFusion SDK and provides it to descendant components.
Place an ImFusionCanvas inside this provider to trigger initialization. Children are rendered immediately; use the state components to show different UI for each initialization phase.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | ImFusionProviderProps |
Returns
Element
Example
tsx
The SDK is initialized once per provider instance. Changes to options do
not reconfigure an already initialized SDK.