Sha256: f6a75808b8b29f2a0dbbb0596aad9286c85c09cd4c35beeb5fddb49131e88277
Contents?: true
Size: 521 Bytes
Versions: 27
Compression:
Stored size: 521 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 def type :submit_button end end end end end
Version data entries
27 entries across 27 versions & 1 rubygems