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
.wrap | |
position: fixed | |
width 100vw | |
z-index: 999 | |
display flex | |
background-color white | |
justify-content: space-between | |
padding rem(20px) | |
box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); | |
padding-left: 5vw |
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 messageDescriptor = {. "id": string, "defaultMessage": string}; | |
[@bs.module "react-intl"] | |
external defineMessages : Js.Dict.t(messageDescriptor) => Js.Dict.t(messageDescriptor) = | |
""; | |
module FormattedMessage = { | |
[@bs.module "react-intl"] external formatMessage : ReasonReact.reactClass = "FormattedMessage"; | |
let make = | |
( |
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
module type OrderFilterArrayType = { | |
type t; | |
type filterName; | |
let reduceFilter: (filterName, array(t)) => array(t); | |
type itemID; | |
let getItemID: t => itemID; | |
let findOneIndex: (itemID, array(t)) => option(int); | |
}; | |
module Make = (Item: OrderFilterArrayType) => { |
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
const { | |
app, | |
BrowserWindow, | |
desktopCapturer, | |
} = require("electron"); | |
app.whenReady().then(() => { | |
let promise; | |
const interval = setInterval(() => { | |
console.log("Promise state", promise); |