We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e0e6556 + acd8132 commit 5258e6fCopy full SHA for 5258e6f
snippets/component.tsx.json
@@ -49,7 +49,21 @@
49
" return <div></div>;",
50
"};"
51
],
52
- "description": "Solid empty function componen. With Importst"
+ "description": "Solid empty function component. With Imports"
53
+ },
54
+ "Solid empty function component. With Imports and default export": {
55
+ "prefix": "scompie",
56
+ "body": [
57
+ "import { Component } from \"solid-js\";",
58
+ "",
59
+ "const ${1:${TM_FILENAME_BASE}}: Component<{$2}> = (props) => {",
60
+ " $0",
61
+ " return <div></div>;",
62
+ "};",
63
64
+ "export default ${1:${TM_FILENAME_BASE}};"
65
+ ],
66
+ "description": "Solid empty function component. With Imports and default export"
67
},
68
"Solid empty Parent Component. With Imports": {
69
"prefix": "spcompi",
0 commit comments