Fork me on GitHub
#rum
<
2016-05-18
>
shaun-mahood17:05:39

@kauko: Did you ever get rum working with devcards? I came on here to ask about it but it was actually surprisingly easy to get it working.

shaun-mahood17:05:01

@kauko: For anyone else wondering, all you have to do is call the function from within your devcard like this

(rum/defc repeat-label [n text]
  [:div (repeat n [:.label text])])

(defcard rum-test
         (repeat-label 5 "abc"))

kauko17:05:47

Yeah I did. It was a problem with my project.clj