mirror of
https://github.com/penpot/penpot.git
synced 2026-08-15 01:08:45 +00:00
* ♻️ Rename old icons as deprecated * ♻️ Take icons from the namespace for the icon component * ♻️ Take icons from the namespace for the icon-button component
23 lines
732 B
Clojure
23 lines
732 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.components.reorder-handler
|
|
(:require-macros [app.main.style :as stl])
|
|
(:require
|
|
[app.main.ui.ds.foundations.assets.icon :refer [icon*] :as i]
|
|
[rumext.v2 :as mf]))
|
|
|
|
(mf/defc reorder-handler*
|
|
[{:keys [ref]}]
|
|
[:*
|
|
[:div {:ref ref :class (stl/css :reorder)}
|
|
[:> icon*
|
|
{:icon-id i/reorder
|
|
:class (stl/css :reorder-icon)
|
|
:aria-hidden true}]]
|
|
[:hr {:class (stl/css :reorder-separator-top)}]
|
|
[:hr {:class (stl/css :reorder-separator-bottom)}]])
|