File tree 1 file changed +21
-1
lines changed
1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ const ${1:${TM_FILENAME_BASE}}: VoidComponent<{$2}> = (props) => {
125
125
</details ></td ></tr >
126
126
<tr>
127
127
<td><code>scompi→</code></td>
128
- <td>Solid empty function componen . With Importst </td>
128
+ <td>Solid empty function component . With Imports </td>
129
129
<td><b>tsx</b></td>
130
130
</tr>
131
131
<tr><td colspan="3"><details>
@@ -140,6 +140,26 @@ const ${1:${TM_FILENAME_BASE}}: Component<{$2}> = (props) => {
140
140
};
141
141
```
142
142
143
+ </details ></td ></tr >
144
+ <tr>
145
+ <td><code>scompie→</code></td>
146
+ <td>Solid empty function component. With Imports and default export</td>
147
+ <td><b>tsx</b></td>
148
+ </tr>
149
+ <tr><td colspan="3"><details>
150
+ <summary><sup>Toggle Code Snippet</sup></summary>
151
+
152
+ ``` tsx
153
+ import { Component } from " solid-js" ;
154
+
155
+ const ${1: $ {TM_FILENAME_BASE}}: Component < {$2 }> = (props ) => {
156
+ $0
157
+ return <div ></div >;
158
+ };
159
+
160
+ export default $ {1 :$ {TM_FILENAME_BASE }};
161
+ ```
162
+
143
163
</details ></td ></tr >
144
164
<tr>
145
165
<td><code>spcompi→</code></td>
You can’t perform that action at this time.
0 commit comments