♻️ Update team icons

This commit is contained in:
Eva Marco 2024-03-06 18:10:07 +01:00 committed by Andrey Antukh
parent 875ea58a01
commit 899093dd55
7 changed files with 636 additions and 736 deletions

View file

@ -177,10 +177,12 @@
{::mf/wrap-props false}
[props]
(let [label (obj/get props "label")
class (obj/get props "class")
tag-name (obj/get props "tag-name" "p")
params (obj/get props "params" [])
html (apply tr (d/concat-vec [label] params))]
[:> tag-name {:dangerouslySetInnerHTML #js {:__html html}}]))
[:> tag-name {:dangerouslySetInnerHTML #js {:__html html}
:className class}]))
;; DEPRECATED
(defn use-locale