Skip to content

Instantly share code, notes, and snippets.

@alimertcakar
Created December 28, 2023 12:38
Show Gist options
  • Save alimertcakar/1fa9b062a925641a475ad63a0f1bfa9b to your computer and use it in GitHub Desktop.
Save alimertcakar/1fa9b062a925641a475ad63a0f1bfa9b to your computer and use it in GitHub Desktop.
VS Code find component with prop using regex
<Spinner[ \w=\{\}>\(\)\n;".-:]* loading
finds Spinner components containing the prop loading
<section[ \w=\{\}>\(\)\n;".-:]* className
finds section's containing the prop className
so on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment