Merge pull request #4175 from penpot/niwinz-staging-perfix-3

 Add incremental improvements to `layout-container` related components
This commit is contained in:
Aitor Moreno 2024-02-27 11:23:39 +01:00 committed by GitHub
commit 7dd0745429
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 736 additions and 651 deletions

View file

@ -18,7 +18,7 @@
(mf/defc radio-button
{::mf/props :obj}
[{:keys [icon id value disabled title unique-key icon-class type]}]
[{:keys [icon id value disabled title icon-class type]}]
(let [context (mf/use-ctx context)
allow-empty (unchecked-get context "allow-empty")
type (if ^boolean type
@ -39,7 +39,6 @@
[:label {:html-for id
:title title
:key unique-key
:class (stl/css-case
:radio-icon true
:checked checked?