class Primer::Forms::Dsl::ToggleSwitchInput

:nodoc:

def initialize(

def initialize(
  name:,
  label:,
  src:,
  csrf: nil,
  **system_arguments
)
  @name = name
  @label = label
  @src = src
  @csrf = csrf
  super(**system_arguments)
end

def to_component

def to_component
  ToggleSwitch.new(input: self)
end

def type

def type
  :toggle_switch
end

def validation_arguments

def validation_arguments
  super.merge(role: "alert")
end