Sha256: d534206094b1a80670ad2e6a8f499931a83b1c1057f444de2692d851d05ed97c
Contents?: true
Size: 592 Bytes
Versions: 6
Compression:
Stored size: 592 Bytes
Contents
# frozen_string_literal: true module Playbook module PbTextarea class Textarea include Playbook::Props partial "pb_textarea/textarea" prop :object prop :method prop :label prop :placeholder prop :value prop :name prop :dark, type: Playbook::Props::Boolean, default: false prop :rows, type: Playbook::Props::Number, default: 4 def classname generate_classname("pb_textarea_kit", dark_class) end def dark_class dark ? "dark" : nil end end end end
Version data entries
6 entries across 6 versions & 1 rubygems