ImFusionProviderProps
Properties
| Property | Type | Description |
|---|---|---|
options? | InitOptions | Options passed to init when the SDK is initialized. See InitOptions |
onReady? | (imf: ImFusion) => void | Called after the SDK has been initialized successfully. |
onError? | (error: Error) => void | Called if SDK initialization fails. |
children | ReactNode | Content that should have access to the ImFusion SDK. Render an ImFusionCanvas somewhere inside this provider so the SDK has a canvas to initialize against. |