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