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.20.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.19.0.pre.alpha.map1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.19.0.pre.alpha.pagpassthrough1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.19.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.18.0.pre.alpha.pagutility1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.19.0.pre.typeahead1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.18.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.17.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.15.0.pre.alpha.dependencies1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.16.0.pre.alpha.paginationrails1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.16.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.16.0.pre.alpha.reactupgrade1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.15.0.pre.alpha.table1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.16.0.pre.alpha.pagination.rails1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.15.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.14.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.13.0.pre.alpha.fontawesome1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.13.0 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.12.1.pre.alpha.charts1 app/pb_kits/playbook/pb_card/card_header.rb
playbook_ui-11.12.1.pre.alpha.passphrase1 app/pb_kits/playbook/pb_card/card_header.rb