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 9, 2024
1 parent 183eab7 commit d40d064
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 @@ -38,6 +38,28 @@ Manually replace the props in your project.
- `<ButtonLink isSquare … />``<ButtonLink isSymmetrical … />`
</details>

### Link `isUnderlined`

`isUnderlined` property will be replaced in the next major version. 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 … />``<Button 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 d40d064

Please sign in to comment.