Skip to content

Commit

Permalink
fix: get rid of :redef-in-file warning
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Dec 4, 2023
1 parent 1e79727 commit c527bc7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/quo/components/tags/tag.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,17 @@
text-color)
label])])

(defn tag
(defn tag-internal
"opts
{:type :icon/:emoji/:label
:label string
:size 32/24
:on-press fn
:blurred? true/false
:blurred? true/false
:resource icon/image
:labelled? true/false
:disabled? true/false}
opts
- `blurred` boolean: use to determine border color if the background is blurred
- `type` can be icon or emoji with or without a tag label
Expand Down Expand Up @@ -106,5 +106,5 @@
:labelled? (if (= type :label) true labelled?)}
[tag-resources size type resource icon-color label text-color labelled?]]]))

(def tag (quo.theme/with-theme tag))
(def tag (quo.theme/with-theme tag-internal))

0 comments on commit c527bc7

Please sign in to comment.