UseHostPricingExtension
Home > @gooddata/sdk-ui-pluggable-host > UseHostPricingExtension
UseHostPricingExtension type
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
A host pricing extension. The Use prefix signals that this MUST be a React hook — it is invoked from HostChrome's render and therefore must obey the React Rules of Hooks (stable call order, no conditional hook calls, etc.).
Signature:
export type UseHostPricingExtension = (ctx: IPlatformContext, locale: string) => IHostChromePricing;
References: IPlatformContext, IHostChromePricing