Sha256: 7891da5040bdbbe6498953fa80f76d88f04a8ae5f0baf73bfaa953bc0c0de1db
Contents?: true
Size: 445 Bytes
Versions: 2
Compression:
Stored size: 445 Bytes
Contents
# frozen_string_literal: true module Yattho 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.1.1 | lib/yattho/forms/text_area.rb |
yattho_view_components-0.0.1 | lib/yattho/forms/text_area.rb |