 
   See the genspec docstring for spec.
 
+  Defaults:
+  
   Within methods, the components this object is bound to `this`.  It
   can be overriden using the :this-as option in spec.
+
+  The React displayName is set to the name of the factory function by
+  default.
 
 
   React attributes:

  (let [[docstr prop-binding spec]
        (if (string? prop-binding)
          [prop-binding (first spec) (rest spec)]
          [nil prop-binding spec])]
    (assert (vector? prop-binding))
    `(def ~name
       ~@(if docstr
           [docstr])
       (let [c# (js/React.createClass
                 (genspec ~prop-binding :this-as ~'this ~@spec))]
         (fn
           ([]
            (js/React.createElement c# (cljs.core/js-obj)))

  See https://facebook.github.io/react/docs/component-specs.html for
  available properties."
  [prop-binding & spec]
  (apply genspec* prop-binding (extract-opts spec))) 

(defmacro defreact
  "Define a variadic factory function according to spec. varargs
