Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! BREAKING CHANGE(web-react): Rename…
Browse files Browse the repository at this point in the history
… TooltipModern to Tooltip
  • Loading branch information
pavelklibani committed May 2, 2024
1 parent 17a7165 commit d239e3d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/migrations/web-react/MIGRATION-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Introducing version 2 of the _spirit-web-react_ package
- [TextField: `label` prop](#textfield-label-prop)
- [Tooltip: `off` Placement](#tooltip-off-placement)
- [Tooltip: Refactored](#tooltip-refactored)
- [TooltipModern](#tooltipmodern)

## General Changes

Expand Down Expand Up @@ -310,6 +311,22 @@ Use:
</Tooltip>
```

### TooltipModern

The `TooltipModern` component was renamed to `Tooltip`.

#### Migration Guide

Use codemod to automatically update your codebase.

```sh
npx @lmc-eu/spirit-codemods -p <path> -t v2/web-react/tooltipmodern-component-name
```

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

Or manually rename `TooltipModern` to the `Tooltip`.

---

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 d239e3d

Please sign in to comment.