Interface ClientProviderProps

Less than 1 minute

Interface ClientProviderProps

Declared in packages/sdk/react-client/src/client/ClientContext.tsx

Properties

childrenopen in new window

Type: ReactNode

clientopen in new window

Type: Client | Provider<Promise<Client>>

Client object or async provider to enable to caller to do custom initialization.

Most apps won't need this.

configopen in new window

Type: Config | Provider<Promise<Config>>

Config object or async provider.

fallbackopen in new window

Type: FunctionComponent<Partial<ClientContextProps>>

ReactNode to display until the client is available.

onInitializedopen in new window

Type: function

servicesopen in new window

Type: function