Skip to content

Properties

PropertiesDescription
children or modal_content(optional) the content to show.
title(optional) the content title. Defaults to Hjelpetekst (HelpButton.title).
icon(optional) the icon defaults to question.
render(optional) accepts a function that returns a valid React Element. See example below.
Button(optional) accepts all Button properties, if children is not given.

Translations

More info about translations can be found in the general localization and Eufemia Forms localization docs.

Keynb-NOen-GBen-US
HelpButton.titleHjelpetekstHelp textHelp text
HelpButton.aria_roleHjelp-knappHelp buttonHelp button

How to use render

Code Editor
<HelpButton
  title="Title"
  render={(children, props) => (
    <Dialog triggerAttributes={props} className="your-class">
      {children}
    </Dialog>
  )}
>
  Help text
</HelpButton>