Previews

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