mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +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
14 lines
341 B
Plaintext
14 lines
341 B
Plaintext
<%= container do %>
|
|
<% if icon && (icon_position != :right) %>
|
|
<%= helpers.icon(icon, size: size, color: icon_color, class: icon_classes) %>
|
|
<% end %>
|
|
|
|
<% unless icon_only? %>
|
|
<%= text %>
|
|
<% end %>
|
|
|
|
<% if icon && icon_position == :right %>
|
|
<%= helpers.icon(icon, size: size, color: icon_color) %>
|
|
<% end %>
|
|
<% end %>
|