class-names for ClojureScript
(:require [class-names.core :refer [class-names]])
(class-names "foo" "bar" :bax { :active true :seleced false })
; -> "foo bar bax active"
(class-names "foo" "bar" nil)
; -> "foo bar"
(class-names "foo" "bar" :bax { :active true :seleced false } 'nox { :more-classes-in-map true })
; -> "foo bar bax active nox more-classes-in-map"
MIT © Yury Solovyov