Sha256: a357e1faee67681069cdd6d2b7c98f1aa6c752f193cdc6b9cd833d93eb999aeb

Contents?: true

Size: 346 Bytes

Versions: 5

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbInput
    class Input
      include Playbook::Props

      partial "pb_input/input"

      prop :label
      prop :name
      prop :placeholder
      prop :value
      prop :type, default: "text"

      def classname
        generate_classname("pb_input_kit")
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
playbook_ui-2.9.7 app/pb_kits/playbook/pb_input/input.rb
playbook_ui-2.9.6 app/pb_kits/playbook/pb_input/input.rb
playbook_ui-2.9.5 app/pb_kits/playbook/pb_input/input.rb
playbook_ui-2.9.4 app/pb_kits/playbook/pb_input/input.rb
playbook_ui-2.9.3 app/pb_kits/playbook/pb_input/input.rb