Sha256: b6c8076f4820b3edbbe530f25e3b17d85b8e304715158e54bf8eabca7c62fd98

Contents?: true

Size: 357 Bytes

Versions: 154

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true

module Playbook
  module PbLayout
    class Body
      include Playbook::Props

      partial "pb_layout/body"

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

      def classname
        generate_classname("layout_body")
      end
    end
  end
end

Version data entries

154 entries across 154 versions & 1 rubygems

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