We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d399348 commit 42f7796Copy full SHA for 42f7796
Sources/RichTextKit/Alignment/RichTextAlignment+Picker.swift
@@ -19,7 +19,7 @@ public extension RichTextAlignment {
19
struct Picker: View {
20
/**
21
Create a rich text alignment picker.
22
-
+
23
- Parameters:
24
- selection: The binding to update with the picker.
25
- values: The pickable alignments, by default `.allCases`.
@@ -33,10 +33,10 @@ public extension RichTextAlignment {
33
}
34
35
let values: [RichTextAlignment]
36
37
@Binding
38
private var selection: RichTextAlignment
39
40
public var body: some View {
41
SwiftUI.Picker("", selection: $selection) {
42
ForEach(RichTextAlignment.allCases) { value in
0 commit comments