Skip to content

Commit

Permalink
Update custom example
Browse files Browse the repository at this point in the history
  • Loading branch information
yarspirin committed Jul 20, 2023
1 parent f774cc1 commit 78cc32f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ For more advanced usage, **TagCloud** allows you to fully customize the tag clou
import SwiftUI
import TagCloud

struct SelectableButton: View {
struct SelectableTag: View {
@State var isSelected = false
let title: String

Expand Down Expand Up @@ -85,7 +85,7 @@ struct CustomExampleView: View {

var body: some View {
TagCloudView(data: titles) { title in
SelectableButton(title: title)
SelectableTag(title: title)
}
}
}
Expand Down

0 comments on commit 78cc32f

Please sign in to comment.