GetProModal API

API reference docs for theGetProModalwidget. For examples and details on the usage of this widget, visit the widget demo page.

Props

PropsTypeDescriptionDefault
openbooleanControls the visibility of the modal. When true, the modal is rendered in the DOM_
onClosefunctionCallback triggered when the modal is closed. Called after upgrade, cancel, or close actions._
titlestringThe title displayed in the modal header._
coverImageReactNodeThe Image EDS component displayed at the top of the modal_
itemList{ title: string; description: string }[]List of Pro plan benefits shown in the modal body._
additionalContent?ReactNodeExtra custom content (e.g., info box, disclaimers) rendered below the benefits list.
upgradeButtonProps{label: string; onClick: () => void }Configuration for the upgrade button in the footer (label + handler).
cancelButtonProps?{label: string; onClick?: () => void }Configuration for the cancel button in the footer (label + optional handler).
closeButtonProps?{label: string; onClick?: () => void }Customisation for the close button in the header (aria label + optional handler).