🎉 Add file thumbnails on dashboard.

This commit is contained in:
Andrey Antukh 2020-01-08 10:34:02 +01:00
parent ba2ffb9c0a
commit ab4171b8ec
7 changed files with 86 additions and 70 deletions

View file

@ -6,8 +6,7 @@
;; Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
(ns uxbox.util.dom
(:require [goog.dom :as dom]
[cljsjs.react.dom.server]))
(:require [goog.dom :as dom]))
;; --- Deprecated methods
@ -25,10 +24,6 @@
;; --- New methods
(defn render-to-html
[component]
(.renderToStaticMarkup js/ReactDOMServer component))
(defn get-element-by-class
([classname]
(dom/getElementByClass classname))