airbnb / react-sketchapp

render React components to Sketch ⚛️💎
http://airbnb.io/react-sketchapp/
MIT License
14.94k stars 821 forks source link

Extend profile-cards-primitives to run in react-native #191

Open LincMitch opened 7 years ago

LincMitch commented 7 years ago

In the react-primitive examples, there is only 2 renders: npm run render to render to Sketchapp and npm run web to render to the web browser.

But how would I render to an Native iOS simulator?

Any pointers appreciated.

Link

mathieudutour commented 6 years ago

you would need to create another entry point that works with react-native. react-primitives will automatically redirect the RN compiler to the correct primitives