Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function week_component(idx, week) {
return ReasonReact.element(/* Some */[String(idx)], /* None */0, Week.make(week, /* array */[]));
}
newrecord[/* render */9] = (function (param) {
var state = param[/* state */2];
var date = state[/* date */0];
var update_available = state[/* updateAvailable */1];
return React.createElement("div", {
style: container_styles
}, ReasonReact.element(/* None */0, /* None */0, Popover.make(/* array */[
ReasonReact.element(/* None */0, /* None */0, Header.make(param[/* reduce */1], date, onNextMonth, onLastMonth, resetDate, /* array */[])),
ReasonReact.element(/* None */0, /* None */0, Calendar.make(date, /* array */[])),
ReasonReact.element(/* None */0, /* None */0, Menu.make(update_available, /* array */[]))
])), React.createElement("div", {
style: caret_styles
}));
});
newrecord[/* initialState */10] = (function () {
newrecord[/* render */9] = (function (param) {
var state = param[/* state */2];
var date = state[/* date */0];
var update_available = state[/* updateAvailable */1];
return React.createElement("div", {
style: container_styles
}, ReasonReact.element(/* None */0, /* None */0, Popover.make(/* array */[
ReasonReact.element(/* None */0, /* None */0, Header.make(param[/* reduce */1], date, onNextMonth, onLastMonth, resetDate, /* array */[])),
ReasonReact.element(/* None */0, /* None */0, Calendar.make(date, /* array */[])),
ReasonReact.element(/* None */0, /* None */0, Menu.make(update_available, /* array */[]))
])), React.createElement("div", {
style: caret_styles
}));
});
newrecord[/* initialState */10] = (function () {
newrecord[/* render */9] = (function (param) {
var state = param[/* state */2];
var date = state[/* date */0];
var update_available = state[/* updateAvailable */1];
return React.createElement("div", {
style: container_styles
}, ReasonReact.element(/* None */0, /* None */0, Popover.make(/* array */[
ReasonReact.element(/* None */0, /* None */0, Header.make(param[/* reduce */1], date, onNextMonth, onLastMonth, resetDate, /* array */[])),
ReasonReact.element(/* None */0, /* None */0, Calendar.make(date, /* array */[])),
ReasonReact.element(/* None */0, /* None */0, Menu.make(update_available, /* array */[]))
])), React.createElement("div", {
style: caret_styles
}));
});
newrecord[/* initialState */10] = (function () {
newrecord[/* render */9] = (function () {
return React.createElement("table", {
style: calendar_styles
}, ReasonReact.element(/* None */0, /* None */0, CalendarHeader.make(/* array */[])), ReasonReact.element(/* None */0, /* None */0, CalendarBody.make(date, /* array */[])));
});
return newrecord;
newrecord[/* render */9] = (function (param) {
var state = param[/* state */2];
var date = state[/* date */0];
var update_available = state[/* updateAvailable */1];
return React.createElement("div", {
style: container_styles
}, ReasonReact.element(/* None */0, /* None */0, Popover.make(/* array */[
ReasonReact.element(/* None */0, /* None */0, Header.make(param[/* reduce */1], date, onNextMonth, onLastMonth, resetDate, /* array */[])),
ReasonReact.element(/* None */0, /* None */0, Calendar.make(date, /* array */[])),
ReasonReact.element(/* None */0, /* None */0, Menu.make(update_available, /* array */[]))
])), React.createElement("div", {
style: caret_styles
}));
});
newrecord[/* initialState */10] = (function () {