Sha256: 5ea1e1bdbf25833759103e7fe12e1ed55947b43c529452a17bcf05cffba979de
Contents?: true
Size: 610 Bytes
Versions: 157
Compression:
Stored size: 610 Bytes
Contents
# frozen_string_literal: true module Playbook module PbTimeline class Timeline include Playbook::Props partial "pb_timeline/timeline" 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
157 entries across 157 versions & 1 rubygems