module WikiMusic.SSR.View.Components.Icons
  ( simpleIcon,
  )
where

import Relude
import Text.Blaze.Html
import Text.Blaze.Html5 as H
import Text.Blaze.Html5.Attributes as A

simpleIcon :: Text -> Text -> Html
simpleIcon :: Text -> Text -> Html
simpleIcon Text
x Text
txt =
  Html -> Html
H.span (Html -> Html) -> Html -> Html
forall a b. (a -> b) -> a -> b
$ do
    Html -> Html
H.span (Html -> Html) -> Html -> Html
forall a b. (a -> b) -> a -> b
$ Text -> Html
text Text
x
    Html -> Html
H.span (Html -> Html) -> Html -> Html
forall a b. (a -> b) -> a -> b
$ Text -> Html
text Text
txt