aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/View/Icon.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/View/Icon.elm')
-rw-r--r--src/client/elm/View/Icon.elm12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/client/elm/View/Icon.elm b/src/client/elm/View/Icon.elm
new file mode 100644
index 0000000..f22c1a2
--- /dev/null
+++ b/src/client/elm/View/Icon.elm
@@ -0,0 +1,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 ]
+ []