Skip to content

Commit db2d7da

Browse files
thetarnavgithub-actions[bot]
authored andcommitted
Update Snippets
1 parent 1e034bc commit db2d7da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ const ${1:${TM_FILENAME_BASE}}: VoidComponent<{$2}> = (props) => {
205205

206206
```tsx
207207
const ${1:${TM_FILENAME_BASE}}: ParentComponent<
208-
JSX.IntrinsicElements["${2:div}"] & {
208+
ComponentProps<"${2:div}"> & {
209209
$0
210210
}
211211
> = (props) => {
@@ -225,10 +225,10 @@ const ${1:${TM_FILENAME_BASE}}: ParentComponent<
225225
<summary><sup>Toggle Code Snippet</sup></summary>
226226

227227
```tsx
228-
import { ParentComponent, splitProps, JSX } from "solid-js";
228+
import { ParentComponent, splitProps, ComponentProps } from "solid-js";
229229

230230
const ${1:${TM_FILENAME_BASE}}: ParentComponent<
231-
JSX.IntrinsicElements["${2:div}"] & {
231+
ComponentProps<"${2:div}"> & {
232232
$0
233233
}
234234
> = (props) => {

0 commit comments

Comments
 (0)