providers/react
React provider bridge for @picsart/runtime.
Assembles runtime services from injected React providers, eliminating the need to replicate the photo-editor's 10+ deep provider stack.
Import from @picsart/runtime/providers/react:
import { RuntimeProviders, useRuntimeServices } from '@picsart/runtime/providers/react';
import type { IRuntimeProvidersProps, IRuntimeServices } from '@picsart/runtime/providers/react';
For the full-stack provider that replaces manual adapter composition:
import { FullRuntimeProviders } from '@picsart/runtime/providers/react/full';
Interfaces
- IAuthContextValue
- IAuthenticationProviderConfiguration
- IConfigurableProviderProps
- ICreditsHookValue
- IDesignSystemProviderConfiguration
- IDialogApi
- IINTLProviderConfiguration
- IMonetizationProviderConfiguration
- INotifierApi
- IPulseContextValue
- IPulseProviderConfiguration
- IRuntimeProvidersProps
- IRuntimeServices
- ISubscriptionHookValue
- ITokenData
- ITokenDataRef
- IWrapperProviderProps
Functions
References
IRuntimeState
Re-exports IRuntimeState