You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...otherwise the chain will break with the first equality, ex. if both position and align are undefined, only position will get the default.
In the other hand, React and React native already sets automatically default values with the static Tooltips.defaultProps property, so these block is not necessary (EDIT: sorry, Show is static as well).
The text was updated successfully, but these errors were encountered:
@prscX , just now I'm working in a local fork of your repo, fixing a strange issue with the Android API.
I need to finish my current project this week, but after that I will gladly contribute fixing this new issue. Thanks
@prscX , thanks for your great work.
Looking at the JS code I see this block stating at line 72 of RNTooltips.js:
If the intention is to test each value, the correct code would be:
...otherwise the chain will break with the first equality, ex. if both
position
andalign
are undefined, onlyposition
will get the default.In the other hand, React and React native already sets automatically default values with the static
Tooltips.defaultProps
property, sothese block is not necessary(EDIT: sorry, Show is static as well).The text was updated successfully, but these errors were encountered: