Sha256: 5fc33a60fe3d1036cdd453f65f146d20e542c40dbe23675b3ad12e429b188dd8

Contents?: true

Size: 643 Bytes

Versions: 519

Compression:

Stored size: 643 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 %> 
            <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

519 entries across 519 versions & 1 rubygems

Version Path
playbook_ui-14.0.0.pre.alpha.PLAY14113475 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-14.0.0.pre.alpha.play1447alphatest3462 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-14.1.0 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1.pre.alpha.play1447addrequiredicons3455 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1.pre.alpha.play1447addrequiredicons3451 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1.pre.alpha.PLAY14043436 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1.pre.alpha.pbntr258paginationkitforreact3413 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1.pre.alpha.pbntr258paginationkitforreact3411 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1.pre.alpha.pbntr258paginationkitforreact3409 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1.pre.alpha.pbntr258paginationkitforreact3404 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1.pre.alpha.powerfontsexternal3403 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-14.0.0 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1.pre.alpha.PLAY14633399 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1.pre.alpha.PLAY14703378 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.0.pre.alpha.PLAY14143373 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.0.pre.alpha.PLAY14143372 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.1 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3370 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3369 app/pb_kits/playbook/pb_dropdown/dropdown_option.html.erb