Day | Night |
---|---|
If you don't specify a .badgeStyle(<style>)
it will use the .default
type
import Backpack_SwiftUI
BPKBadge("Hello World")
BPKBadge("Hello World")
.badgeStyle(.destructive)
If you don't specify a .badgeStyle(<style>)
it will use the .default
type
import Backpack_SwiftUI
BPKBadge("Hello World", icon: .tickCircle)
BPKBadge("Hello World", icon: .tickCircle)
.badgeStyle(.destructive)