Add Tabs.SpaLink example

This commit is contained in:
Danielle Pham 2019-05-23 10:57:29 -04:00
parent 6a4b6603a5
commit e18c1abd80

View File

@ -53,7 +53,9 @@ example changeTab tab =
List.Zipper.Zipper
[]
(Tabs.NormalLink { label = "Nowhere", href = Nothing })
[ Tabs.NormalLink { label = "Elm", href = Just "http://elm-lang.org" } ]
[ Tabs.NormalLink { label = "Elm", href = Just "http://elm-lang.org" }
, Tabs.SpaLink { label = "Spa", href = "/#category/Widgets", msg = changeTab Second }
]
}
]
}