mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 13:35:21 +02: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
8 lines
275 B
Text
8 lines
275 B
Text
<%= tag.div style: transparent? ? container_styles : nil,
|
|
class: container_classes do %>
|
|
<% if icon %>
|
|
<%= helpers.icon(icon, size: icon_size, color: "current") %>
|
|
<% elsif text %>
|
|
<%= tag.span text.first, class: text_classes %>
|
|
<% end %>
|
|
<% end %>
|