BPKTextArea

public struct BPKTextArea : View
  • Creates a BPKTextArea.

    Declaration

    Swift

    public init(
        _ value: Binding<String>,
        placeholder: String? = nil
    )

    Parameters

    text

    The text to display in the text field.

    placeholder

    The placeholder text to display when the text field is empty.

    onValueChange

    Callback

  • Declaration

    Swift

    public var body: some View { get }
  • Declaration

    Swift

    public func inputState(_ state: State) -> BPKTextArea
  • The state of the text area.

    See more

    Declaration

    Swift

    public enum State