How to use the reason-react/lib/es6/src/ReasonReact.js.createDomElement function in reason-react

To help you get started, we’ve selected a few reason-react examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mike-engel / Barnacal / lib / es6 / src / week.js View on Github external
newrecord[/* render */9] = (function () {
      var weekday_elements = $$Array.mapi(weekday, week);
      return ReasonReact.createDomElement("tr", {
                  style: week_styles
                }, weekday_elements);
    });
  return newrecord;
github mike-engel / Barnacal / lib / es6 / src / calendarBody.js View on Github external
newrecord[/* render */9] = (function () {
      var day_count = Get_days_in_month(date);
      var weeks = parse_weeks(date, day_count);
      return ReasonReact.createDomElement("tbody", {
                  style: table_styles
                }, $$Array.mapi(week_component, weeks));
    });
  return newrecord;
github mike-engel / Barnacal / lib / es6 / src / popover.js View on Github external
newrecord[/* render */9] = (function () {
      return ReasonReact.createDomElement("div", {
                  style: popover_styles
                }, children);
    });
  return newrecord;