We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e034bc commit db2d7daCopy full SHA for db2d7da
README.md
@@ -205,7 +205,7 @@ const ${1:${TM_FILENAME_BASE}}: VoidComponent<{$2}> = (props) => {
205
206
```tsx
207
const ${1:${TM_FILENAME_BASE}}: ParentComponent<
208
- JSX.IntrinsicElements["${2:div}"] & {
+ ComponentProps<"${2:div}"> & {
209
$0
210
}
211
> = (props) => {
@@ -225,10 +225,10 @@ const ${1:${TM_FILENAME_BASE}}: ParentComponent<
225
<summary><sup>Toggle Code Snippet</sup></summary>
226
227
228
-import { ParentComponent, splitProps, JSX } from "solid-js";
+import { ParentComponent, splitProps, ComponentProps } from "solid-js";
229
230
231
232
233
234
0 commit comments