Sha256: 5ca3465d2616b1f0de72c76ad5fb181fc137964d6664e06373777795e29423e7

Contents?: true

Size: 363 Bytes

Versions: 131

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbLayout
    class Header
      include Playbook::Props

      partial "pb_layout/header"

      prop :tag, type: Playbook::Props::Enum,
                 values: %w[ul li span div],
                 default: "div"

      def classname
        generate_classname("layout_header")
      end
    end
  end
end

Version data entries

131 entries across 131 versions & 1 rubygems

Version Path
playbook_ui-7.14.0.pre.alpha1 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.16.0 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.15.1 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.15.0 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.14.0 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.13.0.pre.alpha1 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.13.0 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.12.1 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.12.0 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.11.1 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.11.0 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.10.0 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.9.0 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.8.4 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.8.3 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.8.2 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.8.1 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.8.0 app/pb_kits/playbook/pb_layout/header.rb
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_layout/header.rb