From bbd503a03843fa7d9515a50ea20fcda9062012d2 Mon Sep 17 00:00:00 2001 From: Pavel Klibani Date: Wed, 7 Aug 2024 18:12:07 +0200 Subject: [PATCH] fixup! fixup! fixup! fixup! Feat(web-twig): Introduce new prop underline to Link component --- .../src/Resources/components/Link/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/web-twig/src/Resources/components/Link/README.md b/packages/web-twig/src/Resources/components/Link/README.md index 5b961631ae..54a92741f5 100644 --- a/packages/web-twig/src/Resources/components/Link/README.md +++ b/packages/web-twig/src/Resources/components/Link/README.md @@ -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]