Package
@carbon/react
Browser
No response
Package version
v1.82.1
React version
No response
Description
When using the <Tag> component with a size prop, the size gets overridden if the parent component also has a size prop. This makes it impossible to set a different size for the <Tag>

Reproduction/example
https://stackblitz.com/edit/github-lshfjdex?file=src%2FApp.tsx&preset=node=
Steps to reproduce
- Create
<Button size="xl">
- Inside it, add
<Tag size="sm">
<Tag> appears with size xl instead of sm
Suggested Severity
None
Application/PAL
No response
Code of Conduct