ericclemmons / click-to-component

Option+Click React components in your browser to instantly open the source in VS Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for antd components

GaitanK opened this issue · comments

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

+1