Created
July 22, 2018 17:19
-
-
Save coelhoadler/26cc28b5c0c570db886199b443f4d312 to your computer and use it in GitHub Desktop.
Creating a snippet for .js extension for visual studio code GUI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "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