Sha256: d3a2af8943824040183fc9eab48edea1961e04020003ac0238ff01dbd0bc9c95

Contents?: true

Size: 323 Bytes

Versions: 2

Compression:

Stored size: 323 Bytes

Contents

<%= render(Yattho::Alpha::Dialog.new(id: "my-dialog", title: title, subtitle: subtitle, visually_hide_title: false)) do |d| %>
  <% d.header(show_divider: show_divider) do %>
    <button class="btn">Custom Header Controls</button>
  <% end %>
  <% d.show_button { button_text } %>
  <% d.body { "Hello World" } %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
yattho_view_components-0.1.1 previews/yattho/alpha/dialog_preview/custom_header.html.erb
yattho_view_components-0.0.1 previews/yattho/alpha/dialog_preview/custom_header.html.erb