Sha256: 44777a1aea856da19fcb38af5efd1757294a9b64149f733ce1c127b46ad2fa86

Contents?: true

Size: 537 Bytes

Versions: 1040

Compression:

Stored size: 537 Bytes

Contents

<% 
  options = [
    { label: 'United States', value: 'United States', id: 'us' },
    { label: 'Canada', value: 'Canada', id: 'ca' },
    { label: 'Pakistan', value: 'Pakistan', id: 'pk' },
  ]

%>

<%= pb_rails("dropdown", props: {options: options}) do %>
    <%= pb_rails("dropdown/dropdown_trigger") %>
    <%= pb_rails("dropdown/dropdown_container") do %>
        <% options.each do |option| %>
            <%= pb_rails("dropdown/dropdown_option", props: {option: option, padding:"sm"}) %>
        <% end %>
    <% end %>
<% end %>

Version data entries

1,040 entries across 1,040 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui_docs-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui_docs-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui_docs-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui_docs-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui_docs-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui-14.11.1 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb
playbook_ui_docs-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_dropdown/docs/_dropdown_with_custom_padding.html.erb