tweak: only debug buttons with string children

This commit is contained in:
Sean Hagstrom 2024-03-27 13:16:11 +00:00 committed by Icaro Motta
parent 797578ae73
commit 691768b691
No known key found for this signature in database
GPG Key ID: 009557D9D014DF07
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@
size 40
customization-color (if (= type :primary) :blue nil)}}
children]
(js/console.log "button - " children)
(when (string? children) (js/console.log "button - " children))
(let [[pressed-state? set-pressed-state] (rn/use-state false)
theme (quo.theme/use-theme)
{:keys [icon-color background-color label-color border-color blur-type