Sha256: 05590c2d7e99bb884dcda4c3efd65b002521e6542328e656c5d1127b2ddc1222
Contents?: true
Size: 446 Bytes
Versions: 115
Compression:
Stored size: 446 Bytes
Contents
# frozen_string_literal: true module Primer module Forms # :nodoc: class TextArea < BaseComponent delegate :builder, :form, to: :@input def initialize(input:) @input = input @input.add_input_classes("FormControl-input", "FormControl-textarea") @field_wrap_arguments = { class: class_names("FormControl-input-wrap"), hidden: @input.hidden? } end end end end
Version data entries
115 entries across 115 versions & 2 rubygems