Skip to content

Instantly share code, notes, and snippets.

@coelhoadler
Created July 22, 2018 17:19
Show Gist options
  • Select an option

  • Save coelhoadler/26cc28b5c0c570db886199b443f4d312 to your computer and use it in GitHub Desktop.

Select an option

Save coelhoadler/26cc28b5c0c570db886199b443f4d312 to your computer and use it in GitHub Desktop.
Creating a snippet for .js extension for visual studio code GUI
"Create stateless react component": {
"prefix": "rsa",
"body": [
"import React from 'react'; \n",
"const ${1:Component_Name} = () => { \n",
"\treturn ($0) \n",
"}",
"export default ${1:Component_Name};"
],
"description": "Create stateless react component"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment