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
It is not explicitly stated in the documentation that the styles prop is REQUIRED. Usually, ViewStyles are optional, mostly because there is a fallback style set for the component or the component's functionality does not depend on a style prop.
I kept getting "Malformed calls from JS" error and the simple solution was to set a width.
I had to read the package code to realize this, specifically that translateX is a function of low and the containerWidth.
Can the documentation be updated to reflect that the width property of the styles prop is REQUIRED.
Thanks.
The text was updated successfully, but these errors were encountered:
It is not explicitly stated in the documentation that the styles prop is REQUIRED. Usually, ViewStyles are optional, mostly because there is a fallback style set for the component or the component's functionality does not depend on a style prop.
I kept getting "Malformed calls from JS" error and the simple solution was to set a width.
I had to read the package code to realize this, specifically that
translateX
is a function of low and the containerWidth.Can the documentation be updated to reflect that the width property of the styles prop is REQUIRED.
Thanks.
The text was updated successfully, but these errors were encountered: