todo-webclient/client/font-awesome.ls

14 lines
188 B
Plaintext

{h} = require "maquette"
module.exports = {
icon: (selector, icon) ->
unless icon
icon = selector
selector = ""
h (\span.icon + selector), [
h "span.fas.fa-#{icon}"
]
}