Sha256: b24c6d37c2ef7c9fd6c2e2871f2d31ad48ac0eea72ce49c949d9756223276cfe

Contents?: true

Size: 535 Bytes

Versions: 2

Compression:

Stored size: 535 Bytes

Contents

<%= pb_content_tag(:div, id: object.option[:id]) do %>
    <%= pb_rails("list/item", props: {
        display: "flex",
        justify_content: "center",
        padding:"none",
        cursor: "pointer"
        }) do %>
            <div class="dropdown_option_wrapper">
                <% if content.present? %>
                    <%= content.presence %>
                <% else %>
                    <%= pb_rails("body", props: {text: object.option[:label]}) %>
                <% end %>
            </div>
    <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb