Text Button

5.1.0

The Text Button component allows users to take actions, and make choices, with a single tap.

Demo

Props

Se fullständing dokumentation(öppnas i ny flik)
NamnTypBeskrivning

ariaLabel

stringAria label attribute for enhanced accessibility.

customAttribute

{ attribute: string; value: string | number }Used for tests. Clickable and requested subcomponents will be suffixed with "-[ComponentName]".

customTranslations

DeepPartialCustom translations

endIcon

ReactNodeIcon to be displayed at the end of the button.

id

stringA unique ID for the TextButton.

isExternalLink

booleanIf the button opens external link. Will display an icon to the left and add screen reader info

negativeMargins

booleanEnables TextButton minus margin adjustments through boolean or individual side-specific object.

startIcon

ReactNodeIcon to be displayed at the start of the button.

Installation

npm install @sj-ab/component-library.ui.text-button

Länkar

Tangentbordsinteraktioner

  • Enter / Piltangenter
    Välj ett datum i kalender

Change log

Statistik

  • Importer av Text Button

    177
  • Repos med Text Button

    80%
  • Senaste installerade version av Text Button

    5.1.0
  • Äldsta installerade version av Text Button

    1.0.35