This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
CIconButton does not pass class correctly #501
Labels
hacktoberfest
type: bug 🐛
Something isn't working
type: contributions welcome 💚
Contributions are welcome!
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:
<c-icon-button class="burger-button" aria-label="Burger menu" icon="hamburger"
/>`Expected behavior
I would expect the custom "burger-button" class to be the first in the row of the class prop.
Screenshots
Additional context
Inside the render function of the CIconButton component it seems like it's not passing the class prop.
The text was updated successfully, but these errors were encountered: