Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 567 Bytes

readme.md

File metadata and controls

19 lines (14 loc) · 567 Bytes

class-names for ClojureScript

Clojars Project

(: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"

License

MIT © Yury Solovyov