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

fix(component): Remove type="button" when not a <button> #217

Merged
merged 1 commit into from
Jul 1, 2022

Conversation

tulup-conner
Copy link
Collaborator

ListGroup.Items currently have type="button" always,
even though they can be an anchor (<a>) element
instead. That's changed now.

Also adds props since they weren't being passed
in for some reason.

Breaking changes

None.

Bug fixes

`ListGroup.Item`s currently have `type="button"` always,
even though they can be an anchor (`<a>`) element
instead. That's changed now.

Also adds `props` since they weren't being passed
in for some reason.
@tulup-conner tulup-conner force-pushed the fix/list-group-item-props branch from 36e3db8 to 361c821 Compare June 10, 2022 23:12
@codecov
Copy link

codecov bot commented Jun 10, 2022

Codecov Report

Merging #217 (361c821) into main (8bf92ec) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #217   +/-   ##
=======================================
  Coverage   98.98%   98.98%           
=======================================
  Files         127      127           
  Lines        7720     7722    +2     
  Branches      905      905           
=======================================
+ Hits         7642     7644    +2     
  Misses         78       78           
Impacted Files Coverage Δ
src/lib/components/ListGroup/ListGroupItem.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8bf92ec...361c821. Read the comment docs.

@rluders
Copy link
Collaborator

rluders commented Jun 26, 2022

@tulup-conner what is missing here? :)

@tulup-conner
Copy link
Collaborator Author

As far as I can tell this is good to go, I'm not sure why I didn't ready it.

@tulup-conner tulup-conner marked this pull request as ready for review July 1, 2022 09:42
@tulup-conner
Copy link
Collaborator Author

As far as I can tell this is good to go, I'm not sure why I didn't ready it.

@rluders rluders merged commit 8c7012e into themesberg:main Jul 1, 2022
@tulup-conner tulup-conner deleted the fix/list-group-item-props branch July 27, 2022 22:41
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.

2 participants