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

Styles with functions don't get fixed #1

Open
ignacioola opened this issue Dec 14, 2018 · 0 comments
Open

Styles with functions don't get fixed #1

ignacioola opened this issue Dec 14, 2018 · 0 comments

Comments

@ignacioola
Copy link
Owner

Styles which call functions don't are not moved to fixedStyles, for example:

<View style={{ height: 10, width: vh(10) }} />

Get transformed to:

<View style={[styles.view, { width: vh(10) }]} />

When the width could also be moved to the fixedStyles stylesheet.

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