View ClickOutside.re
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
[@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) => |
View grid-areas.css
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
@media (max-width: 800px) { | |
.footer { | |
grid-area: footer; | |
} | |
.head { | |
grid-area: head; | |
} | |
.container { |