Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add the as prop to Badge to support actionable badges #4295

Merged
merged 5 commits into from
Aug 22, 2019
Merged

feat: Add the as prop to Badge to support actionable badges #4295

merged 5 commits into from
Aug 22, 2019

Conversation

mcmxcdev
Copy link

Fixes #4227

…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>
@taion taion changed the title feat: support actional bagdes by adding the as property to the Badge component feat: Add the as prop to Badge to support actionable badges Aug 21, 2019
Copy link
Member

@taion taion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fine, but add this to the TypeScript def as well

Copy link
Member

@taion taion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fine, but add this to the TypeScript def as well

Signed-off-by: mhatvan <markus_hatvan@aon.at>
@mcmxcdev
Copy link
Author

mcmxcdev commented Aug 21, 2019

fine, but add this to the TypeScript def as well

@taion unsure about how they should look like, but I added another commit trying ;)

@taion taion merged commit db09dc0 into react-bootstrap:master Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support actional bagdes by adding the as property to the Badge component
3 participants