-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e76e085
commit 84a4d83
Showing
17 changed files
with
982 additions
and
541 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
type t('props); | ||
|
||
[@mel.obj] | ||
external makeProps: | ||
(~value: 'props, ~children: Types.element, unit) => | ||
{ | ||
. | ||
"value": 'props, | ||
"children": Types.element, | ||
}; | ||
|
||
[@mel.get] | ||
external provider: | ||
t('props) => | ||
Types.component({ | ||
. | ||
"value": 'props, | ||
"children": Types.element, | ||
}) = | ||
"Provider"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[@mel.module "react-dom/server"] | ||
external renderToString: React0.element => string = "renderToString"; | ||
external renderToString: Types.element => string = "renderToString"; | ||
|
||
[@mel.module "react-dom/server"] | ||
external renderToStaticMarkup: React0.element => string = | ||
external renderToStaticMarkup: Types.element => string = | ||
"renderToStaticMarkup"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.