Button

public struct Button

Configuration for the prompt’s submit button shape, variant, and size.

  • Creates a Button style configuration.

    Declaration

    Swift

    public init(
      shape: ButtonShape = .rounded,
      variant: ButtonVariant = .filled,
      size: ButtonSize = .custom(EdgeInsets(top: 10, leading: 16, bottom: 10, trailing: 16), .body)
    )