Skip to content

Instantly share code, notes, and snippets.

Avatar

Amélie abenoit

  • Bordeaux, France
View GitHub Profile
View grid-areas.css
@media (max-width: 800px) {
.footer {
grid-area: footer;
}
.head {
grid-area: head;
}
.container {
@abenoit
abenoit / ClickOutside.re
Last active Apr 3, 2019
ReasonML Binding for react-click-outside
View ClickOutside.re
[@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) =>