File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ const ${1:${TM_FILENAME_BASE}}: VoidComponent<{$2}> = (props) => {
205
205
206
206
``` tsx
207
207
const ${1: $ {TM_FILENAME_BASE}}: ParentComponent <
208
- JSX . IntrinsicElements [ " ${2:div}" ] & {
208
+ ComponentProps < " ${2:div}" > & {
209
209
$0
210
210
}
211
211
> = (props ) => {
@@ -225,10 +225,10 @@ const ${1:${TM_FILENAME_BASE}}: ParentComponent<
225
225
<summary><sup>Toggle Code Snippet</sup></summary>
226
226
227
227
``` tsx
228
- import { ParentComponent , splitProps , JSX } from " solid-js" ;
228
+ import { ParentComponent , splitProps , ComponentProps } from " solid-js" ;
229
229
230
230
const ${1: $ {TM_FILENAME_BASE}}: ParentComponent <
231
- JSX . IntrinsicElements [ " ${2:div}" ] & {
231
+ ComponentProps < " ${2:div}" > & {
232
232
$0
233
233
}
234
234
> = (props ) => {
You can’t perform that action at this time.
0 commit comments