Sha256: fa6af4f42576bd339bab8168e939e95fcd8cc2ddca02eb0879e66866c3ee54b5

Contents?: true

Size: 546 Bytes

Versions: 15

Compression:

Stored size: 546 Bytes

Contents

<div class="bg-gray-50 h-full overflow-auto">
  <% if @example.type == :group %>
    <div class="p-4 prose prose-sm">
      <em class='opacity-50'>Params are not yet supported for grouped examples.</em>
    </div>
  <% elsif @example.params.none? %>
    <div class="p-4 prose prose-sm">
      <em class='opacity-50'>No params configured.</em>
    </div>
  <% else %>
    <div class="py-3">
      <% @example.params.each_with_index do |param, i| %>
        <%= component "param", param: param, i: i %>
      <% end %>
    </div>
  <% end %>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
lookbook-0.9.8 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.9.7 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.9.6 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.9.5 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.9.4 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.9.3 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.9.2 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.9.1 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.9.0 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.8.3 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.8.2 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.8.1 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.8.0 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.8.0.beta.0 app/views/lookbook/previews/panels/_params.html.erb
lookbook-0.7.4 app/views/lookbook/previews/panels/_params.html.erb