Skip to content

classnames-inspired helper for managing dynamic css classes in Reagent and Re-frame apps

License

Notifications You must be signed in to change notification settings

YurySolovyov/class-names-cljs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

classnames-inspired helper for managing dynamic css classes in Reagent and Re-frame apps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published