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

Add correct type definition to placement prop #223

Merged

Conversation

ilkaydnc
Copy link
Contributor

I spent 2 hours figuring out why my dropdown is not working. Then I realized I used "bottom" as placement which looks like in the rc-tooltip library. I added the strict type to the placement prop so no one won't loses time figuring out what placement is like

@afc163 afc163 merged commit b41847c into react-component:master Apr 15, 2023
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.

2 participants