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

CIconButton does not pass class correctly #501

Open
carwack opened this issue Dec 19, 2021 · 0 comments
Open

CIconButton does not pass class correctly #501

carwack opened this issue Dec 19, 2021 · 0 comments
Labels
hacktoberfest type: bug 🐛 Something isn't working type: contributions welcome 💚 Contributions are welcome!

Comments

@carwack
Copy link
Collaborator

carwack commented Dec 19, 2021

Describe the bug
A clear and concise description of what the bug is.
When I add a CSS class to the CIconButton it doesn't show this class when the component is rendered.

To Reproduce
Steps to reproduce the behavior:

  1. Add a class to the CIconButton component
  2. <c-icon-button class="burger-button" aria-label="Burger menu" icon="hamburger" />`

buttonicon

  1. No custom "burger-button" class

Expected behavior
I would expect the custom "burger-button" class to be the first in the row of the class prop.

Screenshots
buttonicon

Additional context
Inside the render function of the CIconButton component it seems like it's not passing the class prop.

@carwack carwack added type: bug 🐛 Something isn't working type: contributions welcome 💚 Contributions are welcome! labels Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest type: bug 🐛 Something isn't working type: contributions welcome 💚 Contributions are welcome!
Projects
None yet
Development

No branches or pull requests

2 participants