fixing path.

This commit is contained in:
Bryce Covert
2020-09-24 13:28:34 -07:00
parent 84c1ce8343
commit 9a96b4a287

View 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]])