-
-
Save blissdev/218641072d7e915d1e3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[:div {:class "elements"} | |
(map-indexed #(om/build elements/view (nth (get group "elements") %2) | |
{:react-key %1 | |
:init-state {:count child-count | |
;;:render-position %2 | |
:delete delete | |
:move move} | |
:state {:render-position %2}}) | |
element-sort)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment