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

Commit b0761d2

Browse files
committed
Be consistent with interface
only show how to transform the arrow function.
1 parent 2027121 commit b0761d2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cli/JSXV4.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ React.createElement(Comp.make, {x, key: "7"})
7373
**Interface And External**
7474

7575
```rescript
76-
@react.component
77-
let make: (~x: int, ~y: int=?, ~z: int=?) => React.element
76+
@react.component (~x: int, ~y: int=?, ~z: int=?) => React.element
7877
7978
// is converted to
8079

0 commit comments

Comments
 (0)