Sha256: a1af9a10be6240a50194d9849f23e5444b90f996ee43ffd442b028b0f6a78629
Contents?: true
Size: 474 Bytes
Versions: 4
Compression:
Stored size: 474 Bytes
Contents
# frozen_string_literal: true module Playbook module PbDropdown class DropdownOption < Playbook::KitBase prop :option, type: Playbook::Props::String prop :id, type: Playbook::Props::String def data Hash(prop(:data)).merge("dropdown_option_label": option) end def padding_helper " p_xs" end def classname generate_classname("pb_dropdown_option", "list") + padding_helper end end end end
Version data entries
4 entries across 4 versions & 1 rubygems