Convert figma components in to react components
npm install -g figma2react
create-react-app test-figma2react
you can use any name
cd test-figma2react
touch .figma2react
//.figma2react
{
"projectId": <id of your project>,
"token": <your figma developer token>
}
you can findout how to get your token here
if you wanna test it out just use the test project, projectId: "eYk3d4ngtHUXkg82atfuJP"
inside your CRA project
figma2react generate
figma2react watch