fixing path.
This commit is contained in:
6
src/cljs/auto_ap/views/components/switch_field.cljs
Normal file
6
src/cljs/auto_ap/views/components/switch_field.cljs
Normal file
@@ -0,0 +1,6 @@
|
||||
(ns auto-ap.views.components.switch-field)
|
||||
|
||||
(defn switch-field [{:keys [id label on-change checked]}]
|
||||
[:<>
|
||||
[:input.switch {:type "checkbox" :id id :on-change on-change :checked checked}]
|
||||
[:label {:for id} label]])
|
||||
Reference in New Issue
Block a user