aboutsummaryrefslogtreecommitdiff
path: root/src/client/View/Icon.elm
blob: f22c1a21190fd6a1eaf7be25bb15a985202ab652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module View.Icon
  ( renderIcon
  ) where

import Html exposing (..)
import Html.Attributes exposing (..)

renderIcon : String -> Html
renderIcon iconClass =
  i
    [ class <| "fa fa-fw fa-" ++ iconClass ]
    []