Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malformed calls from JS - Doc update needed #149

Open
eazzyLEE opened this issue Aug 19, 2023 · 1 comment
Open

Malformed calls from JS - Doc update needed #149

eazzyLEE opened this issue Aug 19, 2023 · 1 comment

Comments

@eazzyLEE
Copy link

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.

@eazzyLEE
Copy link
Author

Still, thank you for this library that offers full flexibility with respect to customization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant