The purpose of the library is to make it possible to export icons from a given Figma file and transform all customizable icons into svg's and then into react components.
First you must to clone and install all the development dependencies to get started.
git clone https://github.com/FelipeQueiroz/-fq-figma-to-react-svg.git
npm install -fq-figma-to-react-svg
cd -fq-figma-to-react-svgSecond you must go to your Figma profile and generate a access token like this image below:
Then you need to enter figma and enter the file that contains the icons you want to import into the project, go to the url and get the FILE_ID as in the image below:
https://www.figma.com/file/FILE_ID/Icons