profit and loss changes for more than one client.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
(ns auto-ap.views.components.switch-field)
|
||||
|
||||
(defn switch-field [{:keys [id label on-change checked]}]
|
||||
(defn switch-field [{:keys [id label on-change checked class]}]
|
||||
[:<>
|
||||
[:input.switch {:type "checkbox" :id id :on-change on-change :checked checked}]
|
||||
[:input.switch {:type "checkbox" :id id :on-change on-change :checked checked :class class}]
|
||||
[:label {:for id} label]])
|
||||
|
||||
Reference in New Issue
Block a user