lelandrichardson / react-primitives

Primitive React Interfaces Across Targets
MIT License
3.09k stars 108 forks source link

Add react-figma platform #143

Closed macintoshhelper closed 4 years ago

macintoshhelper commented 4 years ago

Adds react-figma as a new platform.

(there's a Webpack resolve issue though, where the react-native-web index.js is resolved before .figma.js, as .figma.js is not in the config extensions: I've opened an issue at https://github.com/react-figma/webpack-config , so probably worth waiting for that before merging this, as a node_module injection is needed for now).

Example library using this PR: https://github.com/macintoshhelper/react-figma-styled-components

resolves #142

mathieudutour commented 4 years ago

Looks good, can you update the readme as well?

macintoshhelper commented 4 years ago

Thanks! I've updated the README with the install command.