;; 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 Sucursal en España SL

(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)}]])
