Last active
February 21, 2021 15:53
-
-
Save konsalex/a56a85352473de566e23016134fd8fd9 to your computer and use it in GitHub Desktop.
Create React Functional Component (VScode snippet)
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
Show hidden characters
{ | |
"Functional Default Component": { | |
"scope": "javascript,typescript,typescriptreact, javascriptreact", | |
"prefix": "rdc", | |
"body": [ | |
"export default function ${TM_FILENAME_BASE}() {", | |
" return (<>Template</>);", | |
"}" | |
], | |
"description": "Creates React functional component with default export" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment