Sha256: fd0bd41d2d5556a88bfb37c4c73336f63ea9ff12d7cd713965d6244e93959783
Contents?: true
Size: 1.04 KB
Versions: 83
Compression:
Stored size: 1.04 KB
Contents
<%= render(Primer::BaseComponent.new(**@wrapper_arguments)) do %> <%= render(Primer::BaseComponent.new(**@system_arguments)) do %> <% if @icon %> <div class="Banner-visual"> <%= render(Primer::Beta::Octicon.new(icon: @icon)) %> </div> <% end %> <%= render(Primer::BaseComponent.new(**@message_arguments)) do %> <p class="Banner-title" data-target="<%= catalyst_target(field: "titleText") %>"><%= content %></p> <% if @description %> <p><%= @description %></p> <% end %> <% end %> <% if action %> <div class="flash-action Banner-actions"> <%= action %> </div> <% end %> <% if @dismiss_scheme != :none %> <div class="flash-close Banner-close"> <%= render( Primer::Beta::IconButton.new( scheme: :invisible, icon: :x, aria: { label: @dismiss_label }, data: { action: catalyst_action(event: "click", function: "dismiss") } ) ) %> </div> <% end %> <% end %> <% end %>
Version data entries
83 entries across 83 versions & 2 rubygems