mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 20:31:39 +02:00
✨ Improved text handling
This commit is contained in:
parent
4513033634
commit
07d552c86b
2 changed files with 69 additions and 29 deletions
|
@ -83,7 +83,8 @@
|
|||
(for [[index child] (d/enumerate children)]
|
||||
(let [props (-> (obj/clone props)
|
||||
(obj/set! "node" child)
|
||||
(obj/set! "index" index))]
|
||||
(obj/set! "index" index)
|
||||
(obj/set! "key" index))]
|
||||
[:> render-node props]))])))))
|
||||
|
||||
(mf/defc text-content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue