(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).
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 configextensions
: 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