Sha256: 1da7ce1a52aa33b212e9a9935d2a7ff3b4b7c07a59237603f5afecbaa65d0450
Contents?: true
Size: 539 Bytes
Versions: 60
Compression:
Stored size: 539 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 end end end end
Version data entries
60 entries across 60 versions & 2 rubygems