Sha256: cd114768e70103421ee9339c7b0881781f20f125f372d184ea282b42d6df9e6c

Contents?: true

Size: 850 Bytes

Versions: 1

Compression:

Stored size: 850 Bytes

Contents

<%= content_tag(:div,
    aria: object.aria,
    class: object.classname,
    data: object.data,
    id: object.option[:id],
    **combined_html_options) do %>
    <%= pb_rails("list/item", props: {
        display: "flex", 
        justify_content: "center", 
        padding:"none", 
        cursor: "pointer"
        }) do %> 
            <%= pb_rails("flex", props: {
                align: "center",
                classname:"dropdown_option_wrapper",
                justify: "between",
                padding_x:"sm",
                padding_y:"xxs",
                }) do %>
                <% if content.present? %>
                    <%= content.presence %>
                <% else %>
                    <%= pb_rails("body", props: {text: object.option[:label]}) %>
                <% end %>
            <% end %>
    <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
playbook_ui-13.26.0.pre.alpha.PBNTR291Dropdownrailsv22840 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb