Snippets: use default export for component
This commit is contained in:
parent
94c460a28f
commit
af70d141e6
1 changed files with 1 additions and 3 deletions
4
.vscode/soapbox.code-snippets
vendored
4
.vscode/soapbox.code-snippets
vendored
|
@ -31,9 +31,7 @@
|
|||
" );",
|
||||
"};",
|
||||
"",
|
||||
"export {",
|
||||
" ${1:Component},",
|
||||
"};"
|
||||
"export default ${1:Component};"
|
||||
],
|
||||
"description": "React component"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue