We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67654e0 commit 8df076fCopy full SHA for 8df076f
snippets/component.tsx.json
@@ -51,6 +51,20 @@
51
],
52
"description": "Solid empty function componen. 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 componen. With Imports and default export"
67
+ },
68
"Solid empty Parent Component. With Imports": {
69
"prefix": "spcompi",
70
"body": [
0 commit comments