Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! Feat(web-twig): Introduce new prop underl…
Browse files Browse the repository at this point in the history
…ine to Link component
  • Loading branch information
pavelklibani committed Aug 7, 2024
1 parent ac61664 commit bbd503a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/web-twig/src/Resources/components/Link/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ The underline is never visible, even when the link is hovered over.

## API

| Name | Type | Default | Required | Description |
| -------------- | ------------------------------------------------ | ---------- | -------- | ------------------------------------------------------------------------------------------ | --- | ------------------------------ |
| `color` | [Action Link Color dictionary][dictionary-color] | `primary` || Color variant |
| `href` | `string` | || Link URL |
| `isDisabled` | `bool` | `false` || If true, Link is disabled |
| `isUnderlined` | `bool` | `false` || [**DEPRECATED**][readme-deprecations] in favor of `underline`; If true, Link is underlined |
| `underline` | `hover` / | `always` / | `never` | `hover` || Whether is the link underlined |
| `target` | `string` | `null` || Browsing context for the link |
| `title` | `string` | `null` | | Optional title to display on hover |
| Name | Type | Default | Required | Description |
| -------------- | ------------------------------------------------ | --------- | -------- | ------------------------------------------------------------------------------------------ |
| `color` | [Action Link Color dictionary][dictionary-color] | `primary` || Color variant |
| `href` | `string` ||| Link URL |
| `isDisabled` | `bool` | `false` || If true, Link is disabled |
| `isUnderlined` | `bool` | `false` || [**DEPRECATED**][readme-deprecations] in favor of `underline`; If true, Link is underlined |
| `target` | `string` | `null` | | Browsing context for the link |
| `title` | `string` | `null` || Optional title to display on hover |
| `underline` | `hover` \| `always` \| `never` | `hover` | | When is the link underlined |

On top of the API options, the components accept [additional attributes][readme-additional-attributes].
If you need more control over the styling of a component, you can use [style props][readme-style-props]
Expand Down

0 comments on commit bbd503a

Please sign in to comment.