mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 14:12:36 -05:00
📎 Fix naming of fills react component
This commit is contained in:
parent
ae4f14ece2
commit
88779dd50b
1 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue