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

Allow Icons component receive a className without type error #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

taldr27
Copy link

@taldr27 taldr27 commented Sep 5, 2024

There is a type error when trying to add a className to the Icons component, we can add the className optional prop to the Icons component so we can receive the classname without any problems.

Note: The styles work fine until you try to build the project, then you'll get the error. My latest shadcn-ui version is 0.8.0

Error:

image

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.

1 participant