Sha256: 5d3abb4e1fd308aeccf0f1808b29bb5c309d94a33a42ea7f5f91731fce7d2109
Contents?: true
Size: 1.06 KB
Versions: 30
Compression:
Stored size: 1.06 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" }, data: { action: catalyst_action(event: "click", function: "dismiss") }, autofocus: true ) ) %> </div> <% end %> <% end %> <% end %>
Version data entries
30 entries across 30 versions & 2 rubygems