-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[ts] Correct style type for IconObject #851
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
Conversation
Codecov Report
@@ Coverage Diff @@
## next #851 +/- ##
=======================================
Coverage 53.12% 53.12%
=======================================
Files 29 29
Lines 512 512
Branches 108 108
=======================================
Hits 272 272
Misses 186 186
Partials 54 54Continue to review full report at Codecov.
|
xavier-villelegier
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes @k3ithl1m, looks good ! Next time just base your PR on next and it'll be perfect 👍
|
@k3ithl1m Could you please solve the conflicts by rebasing the |
iRoachie
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you not reindent the entire file? I can’t tell where you made edits or not.
|
Sorry @iRoachie , I forgot to turn off auto indent, will fix it |
|
@xavier-villelegier I'm sorry, but what does rebase means? I went back to next branch and change ViewStyle to TextStyle (this time turning off auto indent.) should i make a PR now? |
|
Don't worry with the rebase, I fixed the changes :) |
* Update README.md - fixing typos (#835) * Pass activeOpacity to TouchableOpacity inside Tile (#839) * Pass activeOpacity to TouchableOpacity inside Tile * Update Tile tests * Comment `LinearGradient` for now (FIXME) * feat(example): Cleanup remains from example app split * Fix ListItem (#848) Fix error on empty rightTitle prop by adding !! * Separate checkbox single and checkbox with text styling (#850) * (theming) Unify components under one primary color (#849) * feat(theming): Remove not-used colors * feat(theme): Add primary color and use through components Added in button, button group, badge, and header * Update snapshots * Update underColor on buttonGroup to match selectedColor * Snapshots * Add color for Checkbox * fix(Checkbox): Shifting width between checked and unchecked * chore(packages): Update versions to fix warnings in jest * added listItem right icon size so that it takes rightIcon size, or 28 (#852) * uses thumbStyle.transform values in the thumb View (#820) * [ts] Correct style type for IconObject (#851) * Add ButtonComponent props and linear gradient props (#857) * Add ButtonComponent props * Use `linearGradientProps` + add error on mounting * feat(button-group): Adds selectMultiple feature (#858) Closes #713 * Platform specific SearchBar (#837) 🚀 * Add SearchBar wrapper * Split SearchBar iOS and Android into separate files * Add back default SearchBar * Update root import * Add back Input right/left icon * Rename loadingIcon to loadingProps * Specify `platform` PropType * Add a fallback * Move tests to `searchbar` * Remove old Search component * Fix loading props spreading overriding whole style * Remove useless things * Add tests for SearchBar * Generate snapshots * Add more tests * Update tests * Update documentation * Fix typo * Slightly changed the style of SearchBars * Bump version to `1.0.0-beta2` * Update snapshots from Searchbar changes * feat(button): Re-add custom TouchableComponent * feat(Button): Cleanup button code, update ts definitions (#859) * Update SearchBars PropTypes * feat(searchbar-both) Add additional defaultProps Made tests pass * Fix PropTypes warnings * Update snapshots from searchbar android change * feat(ts): Add definitons for searchbar (#860) * Fix attributes spreading in platform specific searchbars * feat(Button) Fix activeOpacity props * fixed PricingCard to use new Button props * test(jest): Update PricingCard snapshots
switch current IconObject type that has defined style?: StyleProp;
to style?: StyleProp;
Would this be right? @xavier-villelegier