Created
June 12, 2017 13:14
-
-
Save borkdude/177148ef9d57cb144e26bf2f16e4c7da 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
(defn report [loading?] | |
(r/create-class | |
{:reagent-render (fn [loading?] | |
[:div.report-container | |
(when true #_loading? | |
[:div.widget | |
[:div.widget-body | |
"Preparing report preview " | |
[:div.fa.fa-spinner.fa-spin]]]) | |
[report-iframe loading?]]) | |
:component-did-mount (fn [] (debug "report mounted" | |
;; this is now logged once, so far so good | |
))}) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment