-
-
Notifications
You must be signed in to change notification settings - Fork 398
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
Incompatible icons for icon={} props #1398
Comments
Hey @j-vitali , can you try pass |
yes if works, but still is red line message eslint... :D |
the ESLint Error remains same? |
yes right. |
are you using Icons from |
no, as you can see i use tabler icons |
I also has the same error with flowbite-react-icons |
For now just cast it as the <Dropdown.Item className="text-red-600" icon={IconTrash as FC<ComponentProps<"svg">>} /> |
basically I use tsx with tabler-icons... I want to wrap my svg ico directly in
icon={}
props, but got ts error:Steps to reproduce
Current behavior
Ts error
Expected behavior
Everything working fine, this is for all icon={} props not only for dropdown... :D
Context
The text was updated successfully, but these errors were encountered: