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-5.3.0 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.2.0.pre.alpha4 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.2.0.pre.alpha3 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.2.0.pre.alpha2 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.2.0 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.1.0 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.0.3 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.0.2 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.0.1.pre.beta app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.1.0.pre.alpha4 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.1.0.pre.alpha2 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.1.0.pre.alpha1 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.0.1 app/pb_kits/playbook/pb_layout/body.rb
playbook_ui-5.0.1.pre.alpha1 app/pb_kits/playbook/pb_layout/body.rb