Snippets: use default export for component

This commit is contained in:
Alex Gleason 2022-07-25 10:58:37 -05:00
parent 94c460a28f
commit af70d141e6
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 3 deletions

View File

@ -31,9 +31,7 @@
" );",
"};",
"",
"export {",
" ${1:Component},",
"};"
"export default ${1:Component};"
],
"description": "React component"
},