Created
September 19, 2019 22:43
-
-
Save painedpineapple/1558737513c6411777730dc10bd4d029 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
type t('a) = (. Js.t('a)) => React.element; | |
[@bs.module "google-maps-react"] | |
external _make: {. "apiKey": string} => t('a) = "GoogleApiWrapper"; | |
let wrap = (apiKey: string, component) => { | |
_make({"apiKey": apiKey})(. component); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment