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

Slider props spread type #122

Merged
merged 1 commit into from
Apr 18, 2023
Merged

Slider props spread type #122

merged 1 commit into from
Apr 18, 2023

Conversation

DanWebb
Copy link
Member

@DanWebb DanWebb commented Apr 18, 2023

This component spreads props onto the input, but no extra props are accepted in the components type definition. Which causes an error:

Screenshot 2023-04-18 at 13 33 03

So the type has been updated to accept any extra props of unknown type.

Bonus points for anyone that can get to the bottom of why we never received a typescript error in this project: #121

@DanWebb DanWebb self-assigned this Apr 18, 2023
@mergify mergify bot requested a review from JoshTheWanderer April 18, 2023 12:40
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@mergify mergify bot merged commit f79312f into main Apr 18, 2023
@mergify mergify bot deleted the fix/slider-props branch April 18, 2023 12:43
@gavmck
Copy link
Member

gavmck commented Apr 18, 2023

🎉 This PR is included in version 6.13.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants