Sha256: cda966d97945f8398b065535011f8f583a490ccfe3e71e21381cb5463747d0c1
Contents?: true
Size: 818 Bytes
Versions: 25
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
25 entries across 25 versions & 1 rubygems