Skip to content

Comments

Allow Icons component receive a className without type error#17

Open
taldr27 wants to merge 1 commit intojoschan21:masterfrom
taldr27:patch-1
Open

Allow Icons component receive a className without type error#17
taldr27 wants to merge 1 commit intojoschan21:masterfrom
taldr27:patch-1

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