Label โฉ custom styles
SwiftUI โฉ Controls โฉ Label โฉ
๐ SwiftUI โฉ Label

struct ContentView: View {
@State private var isOn = true
var body: some View {
Toggle(isOn: $isOn){
Label("Hello", systemImage: "person")
// ๐ .redBorder
.labelStyle(.redBorder)
}
}
}
Last updated
Was this helpful?