Sha256: 607d3a53b1156695b5cd10ed42312f7016997e456e9fc99d0feb2bba5eba5407

Contents?: true

Size: 599 Bytes

Versions: 128

Compression:

Stored size: 599 Bytes

Contents

# frozen_string_literal: true

module Primer
  module Alpha
    TextArea = Primer::FormComponents.from_input(Primer::Forms::Dsl::TextAreaInput)

    # Text areas are multi-line text inputs rendered using the `<textarea>` tag in HTML.
    #
    # @form_usage
    #   class ExampleForm < ApplicationForm
    #     form do |example_form|
    #       example_form.text_area(attributes)
    #     end
    #   end
    class TextArea < Primer::Component
      status :alpha

      # @!method initialize
      #
      # @macro form_full_width_arguments
      # @macro form_input_arguments
    end
  end
end

Version data entries

128 entries across 128 versions & 2 rubygems

Version Path
primer_view_components-0.22.0 app/components/primer/alpha/text_area.rb
primer_view_components-0.21.1 app/components/primer/alpha/text_area.rb
openproject-primer_view_components-0.25.0 app/components/primer/alpha/text_area.rb
openproject-primer_view_components-0.24.0 app/components/primer/alpha/text_area.rb
primer_view_components-0.21.0 app/components/primer/alpha/text_area.rb
primer_view_components-0.20.1 app/components/primer/alpha/text_area.rb
primer_view_components-0.20.0 app/components/primer/alpha/text_area.rb
openproject-primer_view_components-0.23.0 app/components/primer/alpha/text_area.rb
primer_view_components-0.19.0 app/components/primer/alpha/text_area.rb
openproject-primer_view_components-0.22.2 app/components/primer/alpha/text_area.rb
primer_view_components-0.18.2 app/components/primer/alpha/text_area.rb
openproject-primer_view_components-0.22.1 app/components/primer/alpha/text_area.rb
primer_view_components-0.18.1 app/components/primer/alpha/text_area.rb
openproject-primer_view_components-0.22.0 app/components/primer/alpha/text_area.rb
primer_view_components-0.18.0 app/components/primer/alpha/text_area.rb
openproject-primer_view_components-0.21.0 app/components/primer/alpha/text_area.rb
primer_view_components-0.17.0 app/components/primer/alpha/text_area.rb
openproject-primer_view_components-0.20.0 app/components/primer/alpha/text_area.rb
primer_view_components-0.16.1 app/components/primer/alpha/text_area.rb
primer_view_components-0.16.0 app/components/primer/alpha/text_area.rb