Sha256: e0c61ee6a16258ecae10f23951f9bd991f325992046a657fa1b15ffb9c40ac62
Contents?: true
Size: 485 Bytes
Versions: 107
Compression:
Stored size: 485 Bytes
Contents
<%= render(Primer::Alpha::Overlay.new( title: "Menu", role: :dialog, )) do |d| %> <% d.with_show_button do |b| %> Open Overlay <% b.with_tooltip(text: "Opens an overlay") %> <% end %> <% d.with_header do %> An overlay <% end %> <% d.with_body do %> <%= render(Primer::Beta::Button.new(id: "overlay-button")) do |b| %> <% b.with_tooltip(text: "This is a tooltip in an Overlay") %> A button <% end %> <% end %> <% end %>
Version data entries
107 entries across 107 versions & 2 rubygems