Skip to content

Commit

Permalink
Merge pull request #399 from anmonteiro/anmonteiro/rm-suspense-maxdur…
Browse files Browse the repository at this point in the history
…ation

Remove maxDuration prop from suspense
  • Loading branch information
rickyvetter committed Apr 27, 2020
2 parents 4154b25 + 7f96893 commit 9ea879c
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/React.re
Original file line number Diff line number Diff line change
Expand Up @@ -100,18 +100,11 @@ module Fragment = {
module Suspense = {
[@bs.obj]
external makeProps:
(
~children: element=?,
~fallback: element=?,
~maxDuration: int=?,
~key: 'key=?,
unit
) =>
(~children: element=?, ~fallback: element=?, ~key: 'key=?, unit) =>
{
.
"children": option(element),
"fallback": option(element),
"maxDuration": option(int),
} =
"";
[@bs.module "react"]
Expand All @@ -120,7 +113,6 @@ module Suspense = {
.
"children": option(element),
"fallback": option(element),
"maxDuration": option(int),
}) =
"Suspense";
};
Expand Down

0 comments on commit 9ea879c

Please sign in to comment.