Text Button
The Text Button component allows users to take actions, and make choices, with a single tap.
Namn | Typ | Beskrivning |
---|---|---|
ariaLabel | string | Aria label attribute for enhanced accessibility. |
customAttribute | { attribute: string; value: string |
number } | Used for tests. Clickable and requested subcomponents will be suffixed with "-[ComponentName]". |
customTranslations | DeepPartial | Custom translations |
endIcon | ReactNode | Icon to be displayed at the end of the button. |
id | string | A unique ID for the TextButton. |
isExternalLink | boolean | If the button opens external link. Will display an icon to the left and add screen reader info |
negativeMargins | boolean | Enables TextButton minus margin adjustments through boolean or individual side-specific object. |
startIcon | ReactNode | Icon to be displayed at the start of the button. |
npm install @sj-ab/component-library.ui.text-button
- Enter / PiltangenterVälj ett datum i kalender
Importer av Text Button
177Repos med Text Button
80%Senaste installerade version av Text Button
5.1.0Äldsta installerade version av Text Button
1.0.35