 (defn create-element
   "Create a native React element, by calling React.createElement directly.
 
-That means the second argument must be a javascript object (or nil), and
-that any Reagent hiccup forms must be processed with as-element. For example
-like this:
-
-   (r/create-element \"div\" #js{:className \"foo\"}
-      \"Hi \" (r/as-element [:strong \"world!\"])
-
-which is equivalent to
-
-   [:div.foo \"Hi\" [:strong \"world!\"]]
-"
+  That means the second argument must be a javascript object (or nil), and
+  that any Reagent hiccup forms must be processed with as-element. For example
+  like this:
+
+     (r/create-element \"div\" #js{:className \"foo\"}
+        \"Hi \" (r/as-element [:strong \"world!\"])
+
+  which is equivalent to
+
+     [:div.foo \"Hi\" [:strong \"world!\"]]"
   ([type]
    (create-element type nil))
   ([type props]

  (comp/reactify-component c))

(defn render
  "Render a Reagent component into the DOM. The first argument may be 
either a vector (using Reagent's Hiccup syntax), or a React element. The second argument should be a DOM node.

Optionally takes a callback that is called when the component is in place.

Returns the mounted component instance."
  ([comp container]
   (dom/render comp container))
  ([comp container callback]


(defn adapt-react-class
  "Returns an adapter for a native React class, that may be used
  just like a Reagent component function or class in Hiccup forms."
  [c]
  (assert c)
  (tmpl/adapt-react-class c))
