Skip to content

Commit

Permalink
Feat(web-twig): Rename Text Color dictionary to Action Link, introduc…
Browse files Browse the repository at this point in the history
…e correct Text Color #DS-639
  • Loading branch information
crishpeen committed Mar 31, 2023
1 parent 4d38c72 commit da6fb75
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/web-twig/src/Resources/components/Link/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ Without lexer:

## API

| Prop name | Type | Default | Required | Description |
| -------------- | ----------------------------------------- | --------- | -------- | ---------------------------------- |
| `class` | `string` | `null` | no | Custom CSS class |
| `color` | [Text Color dictionary][dictionary-color] | `primary` | no | Color variant |
| `href` | `string` || yes | Link URL |
| `isDisabled` | `bool` | `false` | no | If true, Link is disabled |
| `isUnderlined` | `bool` | `false` | no | If true, Link is underlined |
| `onClick` | `string` | `null` | no | JS function to call on click |
| `target` | `string` | `null` | no | Link target |
| `title` | `string` | `null` | no | Optional title to display on hover |
| Prop name | Type | Default | Required | Description |
| -------------- | ------------------------------------------------ | --------- | -------- | ---------------------------------- |
| `class` | `string` | `null` | no | Custom CSS class |
| `color` | [Action Link Color dictionary][dictionary-color] | `primary` | no | Color variant |
| `href` | `string` || yes | Link URL |
| `isDisabled` | `bool` | `false` | no | If true, Link is disabled |
| `isUnderlined` | `bool` | `false` | no | If true, Link is underlined |
| `onClick` | `string` | `null` | no | JS function to call on click |
| `target` | `string` | `null` | no | Link target |
| `title` | `string` | `null` | no | Optional title to display on hover |

You can add `id`, `data-*` or `aria-*` attributes to further extend component's
descriptiveness and accessibility.
Expand Down

0 comments on commit da6fb75

Please sign in to comment.