mirror of
https://github.com/penpot/penpot.git
synced 2025-06-13 14:21:39 +02:00
👷 Add e2e test to profile area
This commit is contained in:
parent
bc2a0432b9
commit
f185836fd4
31 changed files with 412 additions and 206 deletions
|
@ -12,7 +12,7 @@
|
|||
|
||||
(mf/defc file-uploader
|
||||
{::mf/forward-ref true}
|
||||
[{:keys [accept multi label-text label-class input-id on-selected] :as props} input-ref]
|
||||
[{:keys [accept multi label-text label-class input-id on-selected data-test] :as props} input-ref]
|
||||
(let [opt-pick-one #(if multi % (first %))
|
||||
|
||||
on-files-selected
|
||||
|
@ -37,5 +37,6 @@
|
|||
:accept accept
|
||||
:type "file"
|
||||
:ref input-ref
|
||||
:on-change on-files-selected}]]))
|
||||
:on-change on-files-selected
|
||||
:data-test data-test}]]))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue