Sha256: 874455061789402e9466b921b7b6b7054547ea43d9f1b7238a15eb6c801b2138

Contents?: true

Size: 321 Bytes

Versions: 281

Compression:

Stored size: 321 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbCard
    class CardHeader < Playbook::KitBase
      prop :header_color, type: Playbook::Props::String,
                          default: "category_1"

      def classname
        generate_classname("pb_card_header_kit", header_color)
      end
    end
  end
end

Version data entries

281 entries across 281 versions & 1 rubygems

Version Path
playbook_ui-8.1.0 app/pb_kits/playbook/pb_card/card_header.rb