/custom-styles-react-antd-via-figma-api

The project was created as an example of how you can customize the ANT library. In this project, I used React as the main framework and storybook for easy component preview and customization. I will also try to describe in detail all the steps for repeating or implementing this approach in your project.

Primary LanguageLess

Custom styles react antd via figma api

Descriptions

The project was created as an example of how you can customize the ANT library. In this project, I used React as the main framework and storybook for easy component preview and customization. I will also try to describe in detail all the steps for repeating or implementing this approach in your project.

Tools:

Possible problems

  1. babel-loader - "There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you need to fix locally." This issue occurs after installing a storybook in a React project. It is connected with the fact that 1 is now trying to download the version from the storybook. But we need from the CRA. The solution is very simple, you need add nex to you packege.json:
"resolutions": {
  "babel-loader": "8.1.0"
},

and after you need

yarn install

Start react project

yarn start

Start Storybook

yarn storybook

Problems you may face