santomegonzalo / react-native-floating-action

Material design action button for React Native
MIT License
489 stars 180 forks source link

animateButton does not work in functional based component using useRef. #213

Closed banisetticn closed 2 years ago

banisetticn commented 2 years ago

It does not open or close programatically. I use (floatBtnRef?.current as unknown as IRefProps).animateButton()