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

Adding additional props from rc-trigger will break current typescript declare #99

Open
huylocit14054 opened this issue Apr 9, 2020 · 0 comments

Comments

@huylocit14054
Copy link

huylocit14054 commented Apr 9, 2020

Hi, I currently want to use forceRender prop from rc-trigger in my dropdown. However, when I add the props to my current dropdown, typescript will cause errors because forceRender is not a prop of the dropdown component.

Screen Shot 2020-04-09 at 11 15 30
In the typescript, I just wonder why do we only Pick 'getPopupContainer' | 'children' from TriggerProps ?

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

No branches or pull requests

1 participant