Sha256: 3d4f3d68a255c26916e5a6bddab47e8c8a877da979de159c04e4e072345b20b8
Contents?: true
Size: 828 Bytes
Versions: 6
Compression:
Stored size: 828 Bytes
Contents
<%= render "layouts/documentation/component_header", title: "Switch", description: "" %> <% content_for :preview, flush: true do %> <div class="w-full flex justify-center"> <%= render_code_preview('switch') %> </div> <% end %> <% content_for :code, flush: true do %> <div class="w-full flex justify-center"> <%= code_partial("switch/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 switch <% 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("switch/usage", :erb) %> <%= render_usage("switch") %>
Version data entries
6 entries across 6 versions & 1 rubygems