Sha256: dc42d0d1d41e440b4d32b6c1b149b48e64ff7c75fc4ad3a1eb2c1dddf493032c
Contents?: true
Size: 561 Bytes
Versions: 1027
Compression:
Stored size: 561 Bytes
Contents
# frozen_string_literal: true module Playbook module PbTimeline class Timeline < Playbook::KitBase prop :orientation, type: Playbook::Props::Enum, values: %w[vertical horizontal], default: "horizontal" prop :show_date, type: Playbook::Props::Boolean, default: false def classname generate_classname("pb_timeline_kit", orientation, date_class) end private def date_class show_date ? "with_date" : nil end end end end
Version data entries
1,027 entries across 1,027 versions & 1 rubygems