Last active
March 12, 2020 15:14
-
-
Save painedpineapple/6251d738f104d5109ac069c202d803d1 to your computer and use it in GitHub Desktop.
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
// Component: https://github.com/airbnb/react-outside-click-handler | |
[@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