mirror of
https://github.com/penpot/penpot.git
synced 2025-06-12 01:41:37 +02:00
🎉 Add file thumbnails on dashboard.
This commit is contained in:
parent
ba2ffb9c0a
commit
ab4171b8ec
7 changed files with 86 additions and 70 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue