Sha256: 65acd8b1dcb50ab9649d080fa651d503c26e21c45112c1bd165f9816cc1099a2
Contents?: true
Size: 974 Bytes
Versions: 7
Compression:
Stored size: 974 Bytes
Contents
<!--prettier-ignore--> <%= render "layouts/documentation/component_header", title: "Alert Dialog", description: "A modal dialog that interrupts the user with important content and expects a response." %> <% content_for :preview, flush: true do %> <div class="w-full flex justify-center"> <%= render_code_preview('alert-dialog') %> </div> <% end %> <% content_for :code, flush: true do %> <%= code_partial("alert-dialog/preview", :erb) %> <% end %> <%= render_preview %> <h2 class="font-heading scroll-m-20 border-b pb-2 text-2xl font-semibold tracking-tight first:mt-0" id="installation">Installation</h2> <%= code_sample(language: "sh") do %> rails generate shadcn-ui alert-dialog <% end %> <h2 class="font-heading mt-12 scroll-m-20 border-b pb-2 mb-2 text-2xl font-semibold tracking-tight first:mt-0" id="usage"><a href="/docs/components/dialog#usage">Usage</a></h2> <%= code_partial("alert-dialog/usage", :erb) %> <%= render_usage("alert-dialog") %>
Version data entries
7 entries across 7 versions & 1 rubygems