Skip to content

Instantly share code, notes, and snippets.

@SOSANA
Last active August 15, 2023 15:49
Show Gist options
  • Save SOSANA/1fec492bc6b2a9686d7eb0f4bb34c69a to your computer and use it in GitHub Desktop.
Save SOSANA/1fec492bc6b2a9686d7eb0f4bb34c69a to your computer and use it in GitHub Desktop.
vscode snippet extension config for react
{
"Functional component": {
"scope": "javascriptreact",
"prefix": "rcz",
"body": [
"const ${TM_FILENAME_BASE} = () => {",
" return (<div><h1>${0:Hello World}</h1></div>);",
"}",
"export default ${TM_FILENAME_BASE}"
],
"description": "Create React functional Component"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment