Created
February 21, 2020 16:55
-
-
Save painedpineapple/d4f714d9ee158c1c3d46f43a4f8772cc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
[@bs.module "react-outside-click-handler"] [@react.component] | |
external make: | |
( | |
~onOutsideClick: unit => unit, | |
~children: React.element, | |
~disabled: bool=?, | |
~useCapture: bool=?, | |
~display: [@bs.string] [ | |
| `block | |
| `flex | |
| [@bs.as "inline-block"] `inlineBlock | |
| `inline | |
| `contents | |
] | |
=? | |
) => | |
React.element = | |
"default"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment