Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 3247e3a

Browse files
mununkicristianoc
authored andcommitted
update jsx v4 doc about multiple props type
1 parent bb3e4e9 commit 3247e3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/JSXV4.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ type props<'x, 'y, 'z> = {x: 'x, y?: 'y, z?: 'z}
257257
}
258258
```
259259

260+
If there is any type with the same name of `props`, it needs to be renamed to avoid the error of the multiple definitions of the type name.
261+
260262
### Component Application
261263

262264
```rescript

0 commit comments

Comments
 (0)