Code for easy aliasing of mathbox-react primitives.
Code for easy aliasing of mathbox-react primitives.
(defprim sym)
(defprim sym docstring)
(defprim sym docstring attr)
Call this like
(defprim some.ns/Symbol
"optional docstring"
<optional metadata map>)
Transforms to
(def Symbol (r/adapt-react-class some.ns/Symbol))
with metadata attached.
Call this like ```clj (defprim some.ns/Symbol "optional docstring" <optional metadata map>) ``` Transforms to ```clj (def Symbol (r/adapt-react-class some.ns/Symbol)) ``` with metadata attached.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close