sidevesh/react-native-snackbar-component

props are undefined but functional

varand-pez opened this issue · 0 comments

First of all thank you for creating this compact easy-to-use library.

There are some issues with props and also the implementation.

Some of the props are not available but there are in documentation. some even working with red line under them, such as distanceCallback argument and messageStyle. and TS complains.

Screenshot 2023-03-10 at 9 29 04 PM

for messageStyle particularly, you should swap line 71 with 72 because it is overridden by default values. e.g. I want the font size to be other than 14 but I keep getting the default value.

Thank you.