Something went wrong. Try again.
A music player that connects to your cloud/distributed storage. forked from tokono.ma/diffuse
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031module UI.Navigation exposing (Action(..), Icon(..), Label(..), LabelType(..))
import Html.Events.Extra.Mouse as Mouseimport Material.Icons.Types exposing (Coloring)import Svg exposing (Svg)import UI.Page exposing (Page)
-- 🌳
type Action msg = NavigateToPage Page | OpenLinkInNewPage String | PerformMsg msg | PerformMsgWithMouseEvent (Mouse.Event -> msg)
type Icon msg = Icon (Int -> Coloring -> Svg msg)
type Label = Label String LabelType
type LabelType = Hidden | Shown