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-11.12.1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.13.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.12.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.11.0.pre.alpha.paginate2 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.11.0.pre.alpha.dialog2 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.11.0.pre.alpha.paginate1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.11.0.pre.alpha.renderer1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.11.0.pre.alpha.dialog1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.11.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.10.0.pre.alpha.pre.bold1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.10.0.pre.alpha.pagination1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.10.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.9.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.9.0.pre.alpha.fileupload1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.8.1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.8.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.7.0.pre.alpha.table1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.7.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.6.0.pre.alpha.fontawesome app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.5.0.pre.alpha.fontawesome app/pb_kits/playbook/pb_card/card_header.rb