mirror of
https://github.com/penpot/penpot.git
synced 2025-07-15 18:35:23 +02:00
♻️ Remove mf/props obj from DS components
This commit is contained in:
parent
b561ad033c
commit
603e41bbfd
28 changed files with 25 additions and 55 deletions
|
@ -116,8 +116,7 @@
|
|||
[:maybe [:enum "top" "bottom" "left" "right" "top-right" "bottom-right" "bottom-left" "top-left"]]]])
|
||||
|
||||
(mf/defc tooltip*
|
||||
{::mf/props :obj
|
||||
::mf/schema schema:tooltip}
|
||||
{::mf/schema schema:tooltip}
|
||||
[{:keys [class id children tooltip-content placement offset delay] :rest props}]
|
||||
(let [placement* (mf/use-state #(d/nilv placement "top"))
|
||||
placement (deref placement*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue