Sha256: c10a1e9e7c0bead9f15e19b3bc37f5356c4ea40b8921559424d0fd45d06c20a2
Contents?: true
Size: 445 Bytes
Versions: 9
Compression:
Stored size: 445 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--medium") @field_wrap_arguments = { class: class_names("FormControl-input-wrap"), hidden: @input.hidden? } end end end end
Version data entries
9 entries across 9 versions & 1 rubygems