Mercurial > public > simoleon
view Simoleon/Helpers/Sidebar.swift @ 22:3596690dda73
Add Config files and implementing Settings
author | Dennis Concepción Martín <dennisconcepcionmartin@gmail.com> |
---|---|
date | Tue, 20 Jul 2021 09:02:51 +0100 |
parents | c3dda63f50ed |
children | bda6a55d027a |
line wrap: on
line source
// // Sidebar.swift // Simoleon // // Created by Dennis Concepción Martín on 18/07/2021. // import SwiftUI struct Sidebar: View { var body: some View { List { NavigationLink(destination: Conversion()) { Label("Convert", systemImage: "arrow.counterclockwise.circle") } NavigationLink(destination: Favourites()) { Label("Favourites", systemImage: "star") } NavigationLink(destination: Settings()) { Label("Settings", systemImage: "gear") } } .listStyle(SidebarListStyle()) } } struct Sidebar_Previews: PreviewProvider { static var previews: some View { Sidebar() } }