Sha256: 901cd557f385dadcc2ade6893c601375ac2036dd0722efe5eef5811cdb873e77

Contents?: true

Size: 273 Bytes

Versions: 2

Compression:

Stored size: 273 Bytes

Contents

# frozen_string_literal: true

module Yattho
  module Forms
    # :nodoc:
    class SubmitButton < BaseComponent
      delegate :builder, :form, to: :@input

      def initialize(input:)
        @button = Button.new(input: input, type: :submit)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yattho_view_components-0.1.1 lib/yattho/forms/submit_button.rb
yattho_view_components-0.0.1 lib/yattho/forms/submit_button.rb