-
Notifications
You must be signed in to change notification settings - Fork 957
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
'anchor' does not exist in Tooltip #1030
Comments
Agreed. There’re lots of ts issues I realized myself in a real-world application. Will be solved in alpha.2 Thanks for reporting 👍 |
I've run into a few other missing props for some other components as well. Would you like me to list those as well? |
Sure. That’s would be a great help |
I was looking through my codebase, but the only one I could find again so far was that I can comment on this issue as I find more. Thanks for the help! |
@huynhtastic installing utility-types solves most of the cases. You should install it as The reason is that in v5 we moved to this library instead of defining common types ourselves. |
Ok great! Thanks for the heads up. Is that in the documentation somewhere? I don't remember reading anything about installing utility-types as a dependency. |
No it’s not. It seems I missed to notice that and now I’m thinking whether it’s ok for users to install this lib if we describe it or we should move back to own type system |
I think for now, it'd be best if you included it in your documentation so other won't run into this problem as long as you are still using utility-types. |
🐛 Bug Report
Typescript reports that the
anchor
prop does not exist on Tooltip.To Reproduce
Steps to reproduce the behavior:
Expected behavior
For
anchor
to be a correct prop for Tooltip.Link to runnable example or repository (highly encouraged)
UI Kitten and Eva version
The text was updated successfully, but these errors were encountered: