blog icon indicating copy to clipboard operation
blog copied to clipboard

How to style NavigationLink in macOS

Open onmyway133 opened this issue 1 year ago • 0 comments

NavigationLink on Mac applies the default button style. We can style it using ButtonStyle, here to use plain style we can just

NavigationLink(value: DetailRoute.books) {
    BooksView()
}
.buttonStyle(.plain)

onmyway133 avatar Jun 28 '23 04:06 onmyway133