diff options
Diffstat (limited to 'src/client/elm/View/Icon.elm')
-rw-r--r-- | src/client/elm/View/Icon.elm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/client/elm/View/Icon.elm b/src/client/elm/View/Icon.elm index f22c1a2..9fa5f8a 100644 --- a/src/client/elm/View/Icon.elm +++ b/src/client/elm/View/Icon.elm @@ -1,5 +1,6 @@ module View.Icon ( renderIcon + , renderSpinIcon ) where import Html exposing (..) @@ -10,3 +11,9 @@ renderIcon iconClass = i [ class <| "fa fa-fw fa-" ++ iconClass ] [] + +renderSpinIcon : String -> Html +renderSpinIcon iconClass = + i + [ class <| "fa fa-fw fa-spin fa-" ++ iconClass ] + [] |