Przejdź do głównej zawartości

Type Alias: StorefrontProviderConfig

StorefrontProviderConfig = Omit<StorefrontClientConfig, "apiUrl" | "shopSlug"> & Partial<Pick<StorefrontClientConfig, "apiUrl" | "shopSlug">>

The config accepted by the React providers. Identical to the core StorefrontClientConfig, except apiUrl and shopSlug are optional: omit them to fall back to NEXT_PUBLIC_API_URL / NEXT_PUBLIC_SHOP_SLUG, or pass them to override the environment. Every other client option is passed through unchanged.