Open ValentinaKozlova opened 1 year ago
Should a "Build React Native library" CI step be added?
Should a "Build React Native library" CI step be added?
Yes, but I thought to add it separately. Next steps can be to move duplicate code to a separate folder, check the generated icons and then build it for RN
Added package for generation of react-native SVG icons. 1st commit contains copy of react-icons code because majority of it can be reused. For better readability in other commits I added react-native-specific code. This PR is for getting early feedback. Maybe it would be good to put duplicated code in sort of
react-common
folder.Issues with current package:
npm run build:cjs
rm
which is not suitable for RNThings to do:
Verification: Icon generated code looks like this:
In RN tester:![image](https://user-images.githubusercontent.com/11574680/207917927-27550aec-dfa6-4833-be41-82eeaa4056d5.png)