mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-06 00:07:44 +01:00
312a40ce1c
This changes the badge element to prefer spans instead of divs. The primary difference between spans and divs is that spans are inline and divs are block. Styling-wise, we override the display property anyway. Semantically, most all of the badges are used inline instead of on their own block level, so this change seems sensible. You can still provide `div` as the `as` prop if you need to. |
||
---|---|---|
.. | ||
Badge.tsx |