Sha256: f2fed1ae43997945f35cbb369c3dd8fe4fa657ebad1b6113bb50a180ea28625e

Contents?: true

Size: 826 Bytes

Versions: 2

Compression:

Stored size: 826 Bytes

Contents

<%= render Yattho::BaseComponent.new(**@system_arguments) do %>
  <span class="ActionList-content">
    <% if leading_visual %>
        <span class="ActionList-item-visual ActionList-item-visual--leading">
            <%= leading_visual %>
        </span>
    <% end %>
    <% if description %>
        <span class="ActionList-item-descriptionWrap <%= description_variant_class %>">
            <span class="ActionList-item-label"><%= content %></span>
            <span class="ActionList-item-description"><%= description %></span>
        </span>
    <% else %>
        <span class="ActionList-item-label"><%= content %></span>
    <% end %>
   <% if trailing_visual %>
        <span class="ActionList-item-visual ActionList-item-visual--trailing">
            <%= trailing_visual %>
        </span>
    <% end %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yattho_view_components-0.1.1 app/components/yattho/beta/auto_complete/item.html.erb
yattho_view_components-0.0.1 app/components/yattho/beta/auto_complete/item.html.erb