Skip to content

Commit ed335a6

Browse files
committed
Feat: use variant for loading prop
1 parent 47d108d commit ed335a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReactDOM.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ module Props = {
291291
@optional
292292
list: string,
293293
@optional
294-
loading: string, /* "lazy", "eager" */,
294+
loading: [#"lazy" | #eager],
295295
@optional
296296
loop: bool,
297297
@optional

0 commit comments

Comments
 (0)