dropdown icon indicating copy to clipboard operation
dropdown copied to clipboard

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

Open huylocit14054 opened this issue 4 years ago • 0 comments

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 ?

huylocit14054 avatar Apr 09 '20 04:04 huylocit14054