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

Refine size and color APIs #15

Merged
merged 26 commits into from
Jan 7, 2019
Merged

Refine size and color APIs #15

merged 26 commits into from
Jan 7, 2019

Conversation

mlwilkerson
Copy link
Member

@mlwilkerson mlwilkerson commented Jan 5, 2019

  • Ensure extra props are still passed through (code has been commented out)
  • Consider how to handle sizes specified in StyleSheet properties: width, height, fontSize

- remove some snapshot testing in favor of testing specific tree object
  properties

- test the case where color prop should override style
- add size prop
- deprecate height and width props
- add test coverage
- re-organize tests
We need it to remain when the value is "white", since that's what it
will be when doing a mask.
default/override logic with height/width/size
@mlwilkerson mlwilkerson merged commit 0c1a4d1 into master Jan 7, 2019
@mlwilkerson mlwilkerson deleted the refine-api branch January 7, 2019 15:36
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

Successfully merging this pull request may close these issues.

1 participant