kitze / react-long

A LongPress component for React
86 stars 9 forks source link

children ref value is missing #4

Closed xsq007 closed 6 years ago

xsq007 commented 6 years ago

Looking at source codes, children's ref is overwritten with setRef, but not used anywhere. Could you remove the ref definition? I need to customize ref.

Thanks for this good module.

kitze commented 6 years ago

Hey @xsq007, that makes sense. It should be a small PR so if you make it I will merge it.

xsq007 commented 6 years ago

@kitze pls review https://github.com/kitze/react-long/pull/5