Sha256: 7bb147628612a28d84e9f0b99c16969a14e7fc98d7bf94e0a112859b843d3987
Contents?: true
Size: 1.26 KB
Versions: 294
Compression:
Stored size: 1.26 KB
Contents
<%= render Ariadne::BaseComponent.new(tag: @tag, classes: @classes, attributes: @attributes) do %> <div class="ariadne-rounded-md ariadne-p-4 <%= BG_SCHEME_CLASS_MAPPINGS[@scheme] %>"> <div class="ariadne-flex"> <div class="ariadne-flex-shrink-0"> <%= icon %> </div> <div class="ariadne-ml-3"> <div class="ariadne-mt-2 ariadne-text-sm <%= CONTENT_SCHEME_CLASS_MAPPINGS[@scheme] %>"> <p><%= content %></p> </div> <% if has_action? %> <div class="ariadne-mt-4 ariadne-pt-5"> <div class="ariadne--mx-2 ariadne--my-1.5 ariadne-flex"> <%= action %> </div> </div> <% end %> </div> <% if dismissible? %> <div class="ariadne-pl-3"> <div class="ariadne--mx-1.5 ariadne--my-1.5"> <button type="button" class="ariadne-inline-flex ariadne-rounded-md ariadne-p-1.5 focus:ariadne-outline-none focus:ariadne-ring-2 focus:ariadne-ring-offset-2 <%= dismissible_classes %>"> <span class="ariadne-sr-only">Dismiss</span> <%= ariadne_heroicon icon: :"x-mark", variant: HeroiconsHelper::Icon::VARIANT_OUTLINE %> </button> </div> </div> <% end %> </div> </div> <% end %>
Version data entries
294 entries across 294 versions & 1 rubygems