🐛 Make grid params type optional

This commit is contained in:
Andrey Antukh 2023-07-31 12:05:33 +02:00
parent 37bd537bfd
commit fc416ee4af

View File

@ -21,7 +21,7 @@
(sm/def! ::column-params
[:map
[:color ::grid-color]
[:type [::sm/one-of #{:stretch :left :center :right}]]
[:type {:optional true} [::sm/one-of #{:stretch :left :center :right}]]
[:size {:optional true} [:maybe ::sm/safe-number]]
[:margin {:optional true} [:maybe ::sm/safe-number]]
[:item-length {:optional true} [:maybe ::sm/safe-number]]