Previews

1
2
3
4
5
6
<div style="display: grid; place-content: center; margin-top: 4rem;">
<%= render(Primer::Beta::Button.new(id: "tooltip-nw")) do |b| %>
<% b.with_tooltip(text: "This is a tooltip", direction: :nw) %>
Tooltip northwest
<% end %>
</div>