feat(frontend): initial work on react and rumext upgrade

This commit is contained in:
Andrey Antukh 2019-06-19 00:18:52 +02:00
parent ff00bdb3eb
commit 88f45fb618
33 changed files with 184 additions and 144 deletions

View file

@ -14,7 +14,7 @@
[uxbox.main.ui.shapes.common :as common]
[uxbox.main.ui.shapes.attrs :as attrs]
[uxbox.main.data.images :as udi]
[uxbox.util.data :refer [classnames]]
[uxbox.util.data :refer [classnames normalize-props]]
[uxbox.util.geom.matrix :as gmt]
[rumext.core :as mx :include-macros true]))
@ -73,4 +73,4 @@
:width width
:height height}
attrs (merge props (attrs/extract-style-attrs shape))]
[:image attrs]))
[:> :image (normalize-props attrs)]))