Skip to content

Instantly share code, notes, and snippets.

@adevinwild
Created October 6, 2023 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adevinwild/2440c8f7aedbb45d5e664e467ae6365b to your computer and use it in GitHub Desktop.
Save adevinwild/2440c8f7aedbb45d5e664e467ae6365b to your computer and use it in GitHub Desktop.
VSCode - Quickly add React className attribute
{
"Add React className": {
"scope": "javascript,javascriptreact,typescriptreact",
"prefix": "cn",
"body": [
"className='${1}'"
],
"description": "Quickly add a React className attribute"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment