Skip to content

Instantly share code, notes, and snippets.

View abenoit's full-sized avatar

Amélie abenoit

  • Busbud
  • Bordeaux, France
View GitHub Profile
@media (max-width: 800px) {
.footer {
grid-area: footer;
}
.head {
grid-area: head;
}
.container {
@abenoit
abenoit / ClickOutside.re
Last active April 3, 2019 04:51
ReasonML Binding for react-click-outside
[@bs.module "react-click-outside"]
external clickOutside: ReasonReact.reactClass = "default";
[@bs.deriving abstract]
type jsProps = {
className: option(string),
onClickOutside: ReactEvent.Mouse.t => unit,
};
let make = (~className=?, ~onClickOutside, children) =>