Sha256: 0336aa2b0fb3e861eff61efa60cd4494ae32d64f46667e8780d77f95522c5ea7
Contents?: true
Size: 1.34 KB
Versions: 2
Compression:
Stored size: 1.34 KB
Contents
<%= render(Yattho::BaseComponent.new(tag: :li, **@system_arguments)) do %> <%= render(Yattho::BaseComponent.new(**@content_arguments)) do %> <% if private_leading_action_icon %> <span class="ActionListItem-visual ActionListItem-action--leading"> <%= private_leading_action_icon %> </span> <% end %> <% if leading_visual %> <span class="ActionListItem-visual ActionListItem-visual--leading"> <%= leading_visual %> </span> <% end %> <%= render(Yattho::ConditionalWrapper.new(condition: description?, tag: :span, **@description_wrapper_arguments)) do %> <%= render(Yattho::BaseComponent.new(tag: :span, **@label_arguments)) do %> <%= @label %> <% end %> <% if description? %> <span class="ActionListItem-description"> <%= description %> </span> <% end %> <% end %> <% if trailing_visual %> <span class="ActionListItem-visual ActionListItem-visual--trailing"> <%= trailing_visual %> </span> <% end %> <% if private_trailing_action_icon %> <span class="ActionListItem-visual ActionListItem-action--trailing"> <%= private_trailing_action_icon %> </span> <% end %> <% end %> <%= tooltip %> <% if trailing_action %> <%= trailing_action %> <% end %> <%= private_content %> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
yattho_view_components-0.1.1 | app/components/yattho/alpha/action_list/item.html.erb |
yattho_view_components-0.0.1 | app/components/yattho/alpha/action_list/item.html.erb |