Sha256: 46f7c7ed9d2a9b5469302b47ccc207b91b63148e1528acc56a1bc4a4773d24e5
Contents?: true
Size: 907 Bytes
Versions: 4
Compression:
Stored size: 907 Bytes
Contents
<%= render "layouts/documentation/component_header", title: "Dropzone", description: "A dropzone component that accepts multiple files via drag and drop." %> <% content_for :preview, flush: true do %> <div class="w-full flex justify-center"> <%= render_code_preview('dropzone') %> </div> <% end %> <% content_for :code, flush: true do %> <div class="w-full flex justify-center"> <%= code_partial("dropzone/preview", :erb) %> </div> <% 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 dropzone <% 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">Usage</h2> <%= code_partial("dropzone/usage", :erb) %> <%= render_usage("dropzone") %>
Version data entries
4 entries across 4 versions & 1 rubygems