Sha256: f54f65f2146ed1b10ab756704fc5faeb6821a02af12ff9972eb467c7758530e9
Contents?: true
Size: 407 Bytes
Versions: 2
Compression:
Stored size: 407 Bytes
Contents
# frozen_string_literal: true module Playbook module PbDropdown class Dropdown < Playbook::KitBase prop :options, type: Playbook::Props::Array, default: [] prop :label, type: Playbook::Props::String def data Hash(prop(:data)).merge(pb_dropdown: true) end def classname generate_classname("pb_dropdown") end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
playbook_ui-13.27.0 | app/pb_kits/playbook/pb_dropdown/dropdown.rb |
playbook_ui-13.26.0.pre.alpha.jasoncypretpatch12820 | app/pb_kits/playbook/pb_dropdown/dropdown.rb |