ericclemmons / click-to-component

Option+Click React components in your browser to instantly open the source in VS Code
MIT License
1.83k stars 69 forks source link

Support for antd components #60

Open GaitanK opened 2 years ago

GaitanK commented 2 years ago

We are using antd (Ant design) UI library in our project. So when we try to click on an antd component it's throwing the below attached error.

It would be great if ClickToComponent works on top of antd components.

To recreate our problem:

  1. npm install antd
  2. Import any of the antd components in your project and try to click on them.
Screenshot 2022-07-05 at 10 48 24 AM
a554878526 commented 2 years ago

+1