ErrorTextField
@MainActor
struct ErrorTextField : View
Error text field view is used in genrate QR view to show the error in the text field
-
Text field value
Declaration
Swift
@Binding @MainActor var textField: String { get nonmutating set }
-
Placeholder text
Declaration
Swift
@MainActor var placeholder: String
-
Is focused or not is used to show the placeholder text when user tap on the text field
Declaration
Swift
@FocusState @MainActor private var isFocused: Bool { get nonmutating set }
-
Declaration
Swift
@MainActor var body: some View { get }