app/pb_kits/playbook/pb_title_detail/title_detail.rb



# frozen_string_literal: true

module Playbook
  module PbTitleDetail
    class TitleDetail < Playbook::KitBase
      prop :align, type: Playbook::Props::Enum,
                   values: %w[left center right],
                   default: "left"
      prop :detail, required: true
      prop :title, required: true

      def classname
        generate_classname("pb_title_detail_kit", align)
      end
    end
  end
end