Link
Installation
Section titled “Installation”npm install @sk-web-gui/reactAnvändning
Section titled “Användning”import { Link } from '@sk-web-gui/react';| Prop | Typ | Standard | Beskrivning |
|---|---|---|---|
disabled | boolean | false | Sets disabled |
external | boolean | false | Sets external |
children | React.ReactNode | – | React node |
hideExternalIcon | boolean | false | Sets hideExternalIcon |
size | 'sm' | 'md' | 'lg' | 'xl' | “ | Sets size |
strong | boolean | false | Sets strong |
variant | 'primary' | 'tertiary' | primary | Sets variant |
inverted | boolean | false | Inverted colors |
Enum-värden
Section titled “Enum-värden”- size:
undefined,sm,md,lg,xl - variant:
primary,tertiary
Standardargs (från Meta.args)
Section titled “Standardargs (från Meta.args)”{ "href": "#"}Storyvarianter
Section titled “Storyvarianter”- Template – standardstory
- Implementation: @sk-web-gui/link
- Storybook: Link