Sha256: 57f002c831c22cdb0bc836602b59214c852e1c55efc4c524baac164dfcd6ee33

Contents?: true

Size: 346 Bytes

Versions: 6

Compression:

Stored size: 346 Bytes

Contents

<%= render_accordion title: "Did you know?",
  description: "You can wrap shadcn helpers in any component library you want!" %>

<%= render_accordion do %>
  <%= accordion_title do %>
    Use the generators
  <% end %>
  <%= accordion_description do %>
    Add components with <%= code("rails g shadcn_ui add accordion") %>
  <% end %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/views/examples/components/accordion/code/_preview.erb
shadcn-ui-0.0.14 app/views/examples/components/accordion/code/_preview.erb
shadcn-ui-0.0.13 app/views/examples/components/accordion/code/_preview.erb
shadcn-ui-0.0.12 app/views/examples/components/accordion/code/_preview.erb
shadcn-ui-0.0.10 app/views/examples/components/accordion/code/_preview.erb
shadcn-ui-0.0.8 app/views/examples/components/accordion/code/_preview.erb