IHostChromePricing
Home > @gooddata/sdk-ui-pluggable-host > IHostChromePricing
IHostChromePricing interface
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.
Shape returned by a pricing extension hook. Provides the trial-info derived from entitlements + a dialog element so the host chrome can wire the upsell affordances on <AppHeader> without owning the dialog implementation.
Signature:
export interface IHostChromePricing
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
ReactNode |
(ALPHA) The pricing dialog React element (or null to skip rendering). | ||
|
string |
(ALPHA) ISO date string for the trial contract expiry, derived from entitlements. | ||
|
boolean |
(ALPHA) Whether the current org is on a trial entitlement (drives upsell button visibility). | ||
|
() => void |
(ALPHA) Open the pricing dialog (wired to the upsell button click). |