mirror of
https://github.com/penpot/penpot.git
synced 2025-03-15 17:21:17 -05:00
🐛 Components groups were not exported
This commit is contained in:
parent
5d20815776
commit
32540f1ba5
1 changed files with 2 additions and 1 deletions
|
@ -433,6 +433,7 @@
|
||||||
(mf/defc component-symbol
|
(mf/defc component-symbol
|
||||||
[{:keys [id data] :as props}]
|
[{:keys [id data] :as props}]
|
||||||
(let [name (:name data)
|
(let [name (:name data)
|
||||||
|
path (:path data)
|
||||||
objects (-> (:objects data)
|
objects (-> (:objects data)
|
||||||
(adapt-objects-for-shape id))
|
(adapt-objects-for-shape id))
|
||||||
object (get objects id)
|
object (get objects id)
|
||||||
|
@ -448,7 +449,7 @@
|
||||||
(mf/deps objects)
|
(mf/deps objects)
|
||||||
(fn [] (group-wrapper-factory objects)))]
|
(fn [] (group-wrapper-factory objects)))]
|
||||||
|
|
||||||
[:> "symbol" #js {:id (str id) :viewBox vbox}
|
[:> "symbol" #js {:id (str id) :viewBox vbox "penpot:path" path}
|
||||||
[:title name]
|
[:title name]
|
||||||
[:> shape-container {:shape object}
|
[:> shape-container {:shape object}
|
||||||
[:& group-wrapper {:shape object :view-box vbox}]]]))
|
[:& group-wrapper {:shape object :view-box vbox}]]]))
|
||||||
|
|
Loading…
Add table
Reference in a new issue