Sha256: cfcba7a1bc70c291e4cec404e2697bb45816da347197844c142161618cd0b569
Contents?: true
Size: 455 Bytes
Versions: 17
Compression:
Stored size: 455 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 prop :name, 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
17 entries across 17 versions & 1 rubygems