Skip to content

Commit

Permalink
Docs(v3): Add migration guide for Link isUnderlined prop deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelklibani committed Oct 14, 2024
1 parent 43afeca commit e56bd3a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/migrations/web-react/MIGRATION-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,28 @@ Manually replace the props in your project.
- `<Heading … />``<Heading elementType="{/* Your semantic HTML element here */}" … />`
</details>

### Link `isUnderlined`

The `isUnderlined` property was removed, please use `underlined` instead.

#### Migration Guide

🪄 Use codemods to automatically update your codebase:

```sh
npx @lmc-eu/spirit-codemods -p <path> -t v3/web-react/link-underlined-prop
```

👉 See [Codemods documentation][readme-codemods] for more details.

<details>
<summary>🔧 Manual Migration Steps</summary>

Manually replace the props in your project.

- `<Link isUnderlined … />``<Link underlined="always" … />`
</details>

---

Please refer back to these instructions or reach out to our team if you encounter any issues during migration.
Expand Down

0 comments on commit e56bd3a

Please sign in to comment.