($d type & args)
Creates a new React DOM element. "type" ought to be a string like "span", "div",etc.
When a map of props are passed as the second argument, will statically convert to a JS object, specially handling things like converting kebab-case props to camelCase and other transformations.
Use the special & or :& prop to merge dynamic props in.
Creates a new React DOM element. "type" ought to be a string like "span", "div",etc. When a map of props are passed as the second argument, will statically convert to a JS object, specially handling things like converting kebab-case props to camelCase and other transformations. Use the special & or :& prop to merge dynamic props in.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close