You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to Bootstrap, we can turn simple badges to actionable badges by using them with an a tag: https://getbootstrap.com/docs/4.3/components/badge/#links. Currently, the badge component lacks the as prop. Would be great to have it.
The text was updated successfully, but these errors were encountered:
* feat: support actional bagdes by adding the as property to the Badge component (#4227)
* add 'as' prop to Badge.js
* add unit test that verifies 'as' prop is working
Signed-off-by: mhatvan <markus_hatvan@aon.at>
* * updated type definitions & simple.test.tsx for Badge
Signed-off-by: mhatvan <markus_hatvan@aon.at>
* feat: added another TS test case
* fix: closing tag
* fix: prettier
According to Bootstrap, we can turn simple badges to actionable badges by using them with an
a
tag: https://getbootstrap.com/docs/4.3/components/badge/#links. Currently, the badge component lacks theas
prop. Would be great to have it.The text was updated successfully, but these errors were encountered: