mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
📎 Fix naming of fills react component
This commit is contained in:
parent
ae4f14ece2
commit
88779dd50b
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
(def no-repeat-padding 1.05)
|
(def no-repeat-padding 1.05)
|
||||||
|
|
||||||
(mf/defc fills*
|
(mf/defc internal-fills
|
||||||
{::mf/wrap-props false}
|
{::mf/wrap-props false}
|
||||||
[props]
|
[props]
|
||||||
(let [shape (unchecked-get props "shape")
|
(let [shape (unchecked-get props "shape")
|
||||||
@ -120,7 +120,6 @@
|
|||||||
(mf/defc fills
|
(mf/defc fills
|
||||||
{::mf/wrap-props false}
|
{::mf/wrap-props false}
|
||||||
[props]
|
[props]
|
||||||
|
|
||||||
(let [shape (unchecked-get props "shape")
|
(let [shape (unchecked-get props "shape")
|
||||||
type (dm/get-prop shape :type)
|
type (dm/get-prop shape :type)
|
||||||
image (:fill-image shape)
|
image (:fill-image shape)
|
||||||
@ -132,4 +131,4 @@
|
|||||||
(> (count fills) 1)
|
(> (count fills) 1)
|
||||||
(some :fill-color-gradient fills)
|
(some :fill-color-gradient fills)
|
||||||
(some :fill-image fills))
|
(some :fill-image fills))
|
||||||
[:> fills* props])))
|
[:> internal-fills props])))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user