Grid layout infrastructure

This commit is contained in:
alonso.torres 2023-02-14 11:56:00 +01:00
parent 2030f987db
commit a0cd94cfae
33 changed files with 362 additions and 150 deletions

View file

@ -20,12 +20,14 @@
i/component-copy)
(case (:type shape)
:frame (cond
(and (ctl/layout? shape) (ctl/col? shape))
(and (ctl/flex-layout? shape) (ctl/col? shape))
i/layout-columns
(and (ctl/layout? shape) (ctl/row? shape))
(and (ctl/flex-layout? shape) (ctl/row? shape))
i/layout-rows
;; TODO: GRID ICON
:else
i/artboard)
:image i/image