Sha256: b8361ca4da8bd68fe3f71dd10ee2ad8b80f3c3036f84e6c8e9970f876c8d2b88

Contents?: true

Size: 376 Bytes

Versions: 6

Compression:

Stored size: 376 Bytes

Contents

<%= render_component_tag class: "px-2" do %>
  <% if fields.many? %>
    <%= lookbook_render :button, icon: :settings, tooltip: "Display options" do |button| %>
      <% button.with_dropdown do %>
        <div class="p-3 space-y-3">
          <%= safe_join(fields) %>
        </div>
      <% end %>
    <% end %>
  <% else %>
    <%= safe_join(fields) %>
  <% end %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lookbook-1.5.5 app/components/lookbook/display_options/editor/component.html.erb
lookbook-1.5.4 app/components/lookbook/display_options/editor/component.html.erb
lookbook-1.5.3 app/components/lookbook/display_options/editor/component.html.erb
lookbook-1.5.2 app/components/lookbook/display_options/editor/component.html.erb
lookbook-1.5.1 app/components/lookbook/display_options/editor/component.html.erb
lookbook-1.5.0 app/components/lookbook/display_options/editor/component.html.erb