mirror of
https://github.com/penpot/penpot.git
synced 2025-05-18 11:26:45 +02:00
🎉 Add more tests of components
This commit is contained in:
parent
068a099f37
commit
cdab9ff69c
3 changed files with 178 additions and 23 deletions
|
@ -319,7 +319,7 @@
|
|||
|
||||
(defn instantiate-component
|
||||
"Create a new shape in the current page, from the component with the given id
|
||||
in the given file library / current file library."
|
||||
in the given file library. Then selects the newly created instance."
|
||||
[file-id component-id position]
|
||||
(us/assert ::us/uuid file-id)
|
||||
(us/assert ::us/uuid component-id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue