Sha256: cda966d97945f8398b065535011f8f583a490ccfe3e71e21381cb5463747d0c1
Contents?: true
Size: 818 Bytes
Versions: 26
Compression:
Stored size: 818 Bytes
Contents
<%= render component_tag(x: { data: "snackbar", "bind": "root", cloak: true }) do %> <div class="snackbar-container"> <% if icon? %> <div class="snackbar-icon" data-role="icon"> <%= icon %> </div> <% end %> <div class="snackbar-content" data-role="content"> <%= content %> </div> <% if action? %> <div class="snackbar-action" x-ref="action" @click="notification.dismiss" data-role="action"> <%= action %> </div> <% end %> <div class="snackbar-dismiss" x-ref="dismiss" data-role="dismiss"> <%= coco_button( icon: :x, size: :sm, theme: :blank, class: "snackbar-dismiss-button", click: "notification.dismiss" ) %> </div> </div> <% end %>
Version data entries
26 entries across 26 versions & 1 rubygems