Sha256: 1bbd3ae9e46dcf670bc83078f66fb40a50265ac692e331a76ef7707e93272506
Contents?: true
Size: 601 Bytes
Versions: 89
Compression:
Stored size: 601 Bytes
Contents
# frozen_string_literal: true module Primer module Forms module Dsl # :nodoc: class SubmitButtonInput < Input attr_reader :name, :label, :block def initialize(name:, label:, **system_arguments, &block) @name = name @label = label @block = block super(**system_arguments) end def to_component SubmitButton.new(input: self) end # :nocov: def type :submit_button end def supports_validation? false end end end end end
Version data entries
89 entries across 89 versions & 2 rubygems