mirror of
https://github.com/penpot/penpot.git
synced 2026-05-14 12:34:10 +00:00
21 lines
534 B
Clojure
21 lines
534 B
Clojure
;; This Source Code Form is subject to the terms of the Mozilla Public
|
|
;; License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
;;
|
|
;; Copyright (c) KALEIDOS INC
|
|
|
|
(ns app.main.ui.loader
|
|
(:require-macros [app.main.style :as stl])
|
|
(:require
|
|
[app.main.store :as st]
|
|
[app.main.ui.icons :as i]
|
|
[rumext.v2 :as mf]))
|
|
|
|
;; --- Component
|
|
|
|
(mf/defc loader
|
|
[]
|
|
(when (mf/deref st/loader)
|
|
[:div {:class (stl/css :loader-content)}
|
|
i/loader-pencil]))
|