Skip to content

Commit

Permalink
fixup! BREAKING-CHANGE(web-twig): Remove isUnderlined prop from Link …
Browse files Browse the repository at this point in the history
…component
  • Loading branch information
pavelklibani committed Oct 10, 2024
1 parent d40d064 commit 4b46b88
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/web-twig/src/Resources/components/Link/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,14 @@ 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 |
| `target` | `string` | `null` || Browsing context for the link |
| `title` | `string` | `null` || Optional title to display on hover |
| `underlined` | `hover` \| `always` \| `never` | `hover` || When is the link underlined |
| 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 |
| `target` | `string` | `null` || Browsing context for the link |
| `title` | `string` | `null` || Optional title to display on hover |
| `underlined` | `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 4b46b88

Please sign in to comment.