Sha256: 5ed08ca70c177a1eb41d8088ae86eda2336ec3dfc25a2f3da3ba93eb749c4c54

Contents?: true

Size: 508 Bytes

Versions: 8

Compression:

Stored size: 508 Bytes

Contents

<p class="leading-7 [&:not(:first-child)]:mt-6">The Toggle component introduces:</p>

<ul class="my-6 ml-6 list-disc [&>li]:mt-2 text-sm">
  <li><%= code("app/helpers/components/toggle_helper.rb") %></li>
  <li><%= code("app/javascript/controllers/ui/toggle_controller.js") %></li>
  <li><%= code("app/views/components/ui/_toggle.html.erb") %></li>
</ul>

<p class="leading-7 [&:not(:first-child)]:mt-6">
<%= code("render_toggle") %> an argument for the content for the button that will become a toggle.</p>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/views/examples/components/toggle/_usage.html.erb
shadcn-ui-0.0.14 app/views/examples/components/toggle/_usage.html.erb
shadcn-ui-0.0.13 app/views/examples/components/toggle/_usage.html.erb
shadcn-ui-0.0.12 app/views/examples/components/toggle/_usage.html.erb
shadcn-ui-0.0.10 app/views/examples/components/toggle/_usage.html.erb
shadcn-ui-0.0.8 app/views/examples/components/toggle/_usage.html.erb
shadcn-ui-0.0.5 app/views/examples/components/toggle/_usage.html.erb
shadcn-ui-0.0.4 app/views/examples/components/toggle/_usage.html.erb