diff options
Diffstat (limited to 'src/client/elm/View/Icon.elm')
-rw-r--r-- | src/client/elm/View/Icon.elm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/client/elm/View/Icon.elm b/src/client/elm/View/Icon.elm index 468265f..8a5e383 100644 --- a/src/client/elm/View/Icon.elm +++ b/src/client/elm/View/Icon.elm @@ -1,18 +1,20 @@ -module View.Icon +module View.Icon exposing ( renderIcon , renderSpinIcon - ) where + ) import Html exposing (..) import Html.Attributes exposing (..) -renderIcon : String -> Html +import Msg exposing (Msg) + +renderIcon : String -> Html Msg renderIcon iconClass = i [ class <| "fa fa-fw fa-" ++ iconClass ] [] -renderSpinIcon : Html +renderSpinIcon : Html Msg renderSpinIcon = i [ class <| "fa fa-fw fa-spin fa-spinner" ] |