Sha256: baf5094cfed4c7ac8bb4db4418f26f3e906baa246e6a433d8d09b7d360fad0ef

Contents?: true

Size: 310 Bytes

Versions: 92

Compression:

Stored size: 310 Bytes

Contents

<%= render Primer::BaseComponent.new(**@system_arguments) do %>
  <%= primer_octicon @icon if @icon %>
  <%= content %>
  <% if @dismissible %>
    <button class="flash-close js-flash-close" type="button" aria-label="Close">
      <%= primer_octicon "x" %>
    </button>
  <% end %>

  <%= action %>
<% end %>

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
primer_view_components-0.0.83 app/components/primer/beta/flash.html.erb
primer_view_components-0.0.82 app/components/primer/beta/flash.html.erb
primer_view_components-0.0.81 app/components/primer/beta/flash.html.erb
primer_view_components-0.0.80 app/components/primer/beta/flash.html.erb
primer_view_components-0.0.79 app/components/primer/beta/flash.html.erb
primer_view_components-0.0.78 app/components/primer/beta/flash.html.erb
primer_view_components-0.0.77 app/components/primer/beta/flash.html.erb
primer_view_components-0.0.76 app/components/primer/flash_component.html.erb
primer_view_components-0.0.75 app/components/primer/flash_component.html.erb
primer_view_components-0.0.74 app/components/primer/flash_component.html.erb
primer_view_components-0.0.73 app/components/primer/flash_component.html.erb
primer_view_components-0.0.72 app/components/primer/flash_component.html.erb
primer_view_components-0.0.71 app/components/primer/flash_component.html.erb
primer_view_components-0.0.70 app/components/primer/flash_component.html.erb
primer_view_components-0.0.69 app/components/primer/flash_component.html.erb
primer_view_components-0.0.68 app/components/primer/flash_component.html.erb
primer_view_components-0.0.67 app/components/primer/flash_component.html.erb
primer_view_components-0.0.66 app/components/primer/flash_component.html.erb
primer_view_components-0.0.65 app/components/primer/flash_component.html.erb
primer_view_components-0.0.64 app/components/primer/flash_component.html.erb