Skip to content

Commit

Permalink
Add button preview (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-e authored Jun 18, 2024
1 parent 2a13a66 commit 38db007
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ios/HackerNews/Components/ThemedButtonStyle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ struct ThemedButtonStyle: ButtonStyle {
.cornerRadius(10)
}
}

#Preview {
Button("Test") {

}.buttonStyle(ThemedButtonStyle())
}

0 comments on commit 38db007

Please sign in to comment.