ImFusion Web SDK

ImFusionProviderProps

Properties

PropertyTypeDescription
options?InitOptionsOptions passed to init when the SDK is initialized. See InitOptions
onReady?(imf: ImFusion) => voidCalled after the SDK has been initialized successfully.
onError?(error: Error) => voidCalled if SDK initialization fails.
childrenReactNodeContent that should have access to the ImFusion SDK. Render an ImFusionCanvas somewhere inside this provider so the SDK has a canvas to initialize against.

On this page