-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add AntDesign to icons in src/helps/getIconType.js #1529
Conversation
…ements#1466) Type definition for ListItem's component prop was incorrect Closes react-native-elements#1465
…ive-elements#1468) Current typings required that the theme object have in the colors property Closes react-native-elements#1467
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.
Hey @osdnk thanks for submitting.
Just a few things left to do:
- Add
antdesign
to list of icons here in typescript definitions https://github.com/react-native-training/react-native-elements/blob/next/src/index.d.ts#L27 - Update your snapshots (run
npm test -u
)
Also add it to the list of icons here https://github.com/react-native-training/react-native-elements/blob/next/docs/icon.md#available-icon-sets |
Ok, I'll do it soon |
Codecov Report
@@ Coverage Diff @@
## next #1529 +/- ##
=======================================
Coverage 75.49% 75.49%
=======================================
Files 33 33
Lines 612 612
Branches 85 85
=======================================
Hits 462 462
Misses 129 129
Partials 21 21 Continue to review full report at Codecov.
|
@iRoachie |
Co-Authored-By: osdnk <micosa97@gmail.com>
Done |
Lastly could you do a rebase from the |
I could do it tommorow. Wouldn't you like simply squash my commits? |
Nvmd it's fine. |
Thanks for pulling this off 💯 Great job |
We may actually have to delay this a bit, AntDesign isn't available through expo, and it throws an error. |
Thanks! |
* commit '0126436f5f0f37e0340b0c1da32bdea5605cb6df': (43 commits) feat(Card): Remove flexDirection prop feat(Card): Remove fontFamily prop test: Add tests for withTheme test: Fix searcbar error being logged to console fix: Hoist statics for withTheme hoc (react-native-elements#1554) fix: Use library for calculating statusBar height (react-native-elements#1553) ref: Badge component (react-native-elements#1545) Set default prop for type (react-native-elements#1546) docs: Fix paragraphs links in docs (react-native-elements#1536) docs(website): Make image preview section reusable feat: Add button types (react-native-elements#1540) fix: Rounded buttons on android now work correctly (react-native-elements#1538) ci: Run travis against node stable fix: Make button height consistent when using loading ci: Update husky and lint-staged feat: Add AntDesign to list of available icon sets (react-native-elements#1529) docs(website): Add central place to show supported icon sets (react-native-elements#1532) feat(Input): Allow label to be a React element (react-native-elements#1531) ci: Remove expo ci from PRs (react-native-elements#1528) fix(Button): Make the padding consistent (react-native-elements#1505) ...
This fixed it for me: |
Base on: https://github.com/react-native-training/react-native-elements/pull/1474
Motivation
Wish to use new icon set from RNVI
Changes
Add proper import and bump RNVI version