santomegonzalo / react-native-floating-action

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

distanceToEdge is not working with object #192

Closed alexprigi closed 3 years ago

alexprigi commented 3 years ago

Hi,

I wanted to give more space from my bottombar of the and floating button, but I found out, that distanceToEdge is not working if it's an object like { vertical: 20, horizontal: 20 } since the component is expecting a number