Created
October 29, 2019 04:02
-
-
Save seongjoojin/559ed4bae937f5c40e5da2eeb6fea481 to your computer and use it in GitHub Desktop.
react snippet
This file contains 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
{ | |
"React Functional Component": { | |
"prefix": "rfc", | |
"body": [ | |
"import React from \"react\";", | |
"", | |
"const ${TM_FILENAME_BASE} = () => {", | |
" return (", | |
" <div>", | |
" ${1}", | |
" </div>", | |
" )", | |
"}", | |
"", | |
"export default ${TM_FILENAME_BASE};" | |
], | |
"description": "React Functional Component" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment