Skip to content

Commit 12331d2

Browse files
authored
docs: fix syntax problems (rescript-lang#410)
1 parent 7746bde commit 12331d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/docs/react/latest/beyond-jsx.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ module Friend = {
6161
~name: string,
6262
~children: 'children,
6363
~key: string=?,
64-
unit) => {. "name": string, "children": 'children'} = "";
64+
unit) => {"name": string, "children": 'children} = "";
6565
66-
let make = (props: {. "name": string, "children": 'children}) => {
66+
let make = (props: {"name": string, "children": 'children}) => {
6767
// React element creation from the original make function
6868
}
6969
}

0 commit comments

Comments
 (0)