mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 22:34:47 +00:00
* [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:23 EDT * [claudesquad] update from 'component-namespacing' on 18 Jul 25 07:30 EDT * Update stimulus controller references to use namespace * Fix remaining tests
13 lines
330 B
Plaintext
13 lines
330 B
Plaintext
<% if variant == :divider %>
|
|
<%= render "shared/ruler", classes: "my-1" %>
|
|
<% else %>
|
|
<div class="px-1">
|
|
<%= wrapper do %>
|
|
<% if icon %>
|
|
<%= helpers.icon(icon, color: destructive? ? :destructive : :default) %>
|
|
<% end %>
|
|
<%= tag.span(text, class: text_classes) %>
|
|
<% end %>
|
|
</div>
|
|
<% end %>
|