Skip to content

Commit 0ff6f8d

Browse files
committed
No record components.
1 parent 32a65b0 commit 0ff6f8d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pages/docs/gentype/latest/supported-types.mdx

-6
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,6 @@ For example:
137137
let exampleFunction = (~_type) => "type: " ++ _type
138138
```
139139

140-
## Record Components
141-
142-
ReasonReact record components with props of ReScript types `t1`, `t2`, `t3` are exported as reactjs components with props of the JS types corresponding to `t1`, `t2`, `t3`. The annotation is on the `make` function: `[@genType] let make ...`.
143-
144-
A file can export many components by defining them in sub-modules. The toplevel component is also exported as default.
145-
146140
## Imported Types
147141

148142
It's possible to import an existing TS/Flow type as an opaque type in ReScript. For example,

0 commit comments

Comments
 (0)