Skip to content

Instantly share code, notes, and snippets.

@zmzhoi
Created February 6, 2023 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zmzhoi/3a20a1165c8e4b8ebfefa75e65d9ec1e to your computer and use it in GitHub Desktop.
Save zmzhoi/3a20a1165c8e4b8ebfefa75e65d9ec1e to your computer and use it in GitHub Desktop.
{
"export default": {
"prefix": "ed",
"body": ["export { default } from './$0';"],
"description": "export default"
},
"export all": {
"prefix": "ea",
"body": ["export * from './$0';"],
"description": "export default"
},
"create react function component": {
"prefix": "crfc",
"body": [
"function ${TM_FILENAME_BASE}() {",
" return null$0;",
"}",
"",
"export default ${TM_FILENAME_BASE};"
],
"description": "create react function component"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment