Last active
October 29, 2019 04:01
-
-
Save seongjoojin/c0d9220c371dde09f92c0610be52ba76 to your computer and use it in GitHub Desktop.
typescript react vscode 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 Typescript Functional Component": { | |
"prefix": "rtfc", | |
"body": [ | |
"import React from 'react'", | |
"", | |
"const ${TM_FILENAME_BASE} = () => {", | |
" return (", | |
" <>${1}</>", | |
" )", | |
"}", | |
"", | |
"export default ${TM_FILENAME_BASE}", | |
"" | |
], | |
"description": "React Typescript Functional Component" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment