Skip to content

Commit

Permalink
docs: change migration after return of primary variant on Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed Nov 12, 2024
1 parent 9a2a257 commit 1ada8b8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions website/build-app/pages/foundations/migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -266,12 +266,7 @@ We removed `shape` property on Badge component, now you will only have rounded b
### Tag
We removed variant `primary` and `secondary` and replace the `sub-*` variants. To have the primary color please use Badge component instead.
```diff
- <Tag variant="primary">Name</Tag>
+ <Badge>Name</Badge>
```
We removed variant `secondary` and replace the `sub-*` variants. To have the primary color please use Badge component instead.
```diff
- <Tag variant="secondary">Name</Tag>
Expand Down

0 comments on commit 1ada8b8

Please sign in to comment.