Sha256: b6e32f379bc613df3a54623f8b852c9ef051c302fa41277524f6007711a829a8
Contents?: true
Size: 435 Bytes
Versions: 6
Compression:
Stored size: 435 Bytes
Contents
# frozen_string_literal: true module Playbook module PbLayout class Item include Playbook::Props partial "pb_layout/item" prop :size, type: Playbook::Props::Enum, values: %w[sm md lg], default: "sm" def classname generate_classname("layout_item") + size_class end private def size_class " size_#{size}" end end end end
Version data entries
6 entries across 6 versions & 1 rubygems