How to use the reason-react/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 rebench / rebench.github.io / src / common / services / OnClickOutside.bs.js View on Github external
/* render */(function (param) {
              return ReasonReact.createDomElement("div", {
                          ref: Curry._1(param[/* handle */0], (function (r, param) {
                                  param[/* state */1][/* rootRef */0][0] = (r == null) ? /* None */0 : [r];
                                  return /* () */0;
                                }))
                        }, children);
            }),
          /* initialState */(function () {
github rebench / rebench.github.io / src / view / WidthContainer.bs.js View on Github external
/* render */(function () {
              return ReasonReact.createDomElement("div", {
                          className: style
                        }, children);
            }),
          /* initialState */component[/* initialState */10],