Sha256: f2ae8cd6e65bbf0d54bd6fbdc35a70c75a880fd9908315b5c0cd6229e8a8c301

Contents?: true

Size: 255 Bytes

Versions: 11

Compression:

Stored size: 255 Bytes

Contents

<!--prettier-ignore-->
<% case as %>
<% when :link %>
 <%= link_to href, class: button_classes, data: data do %>
    <%= text %>
  <% end %>
<% when :button %>
  <%= button_tag class: button_classes, data: data do %>
    <%= text %>
  <% end %>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
shadcn-ui-0.0.15 app/views/components/ui/_button.html.erb
shadcn-ui-0.0.14 app/views/components/ui/_button.html.erb
shadcn-ui-0.0.13 app/views/components/ui/_button.html.erb
shadcn-ui-0.0.12 app/views/components/ui/_button.html.erb
shadcn-ui-0.0.10 app/views/components/ui/_button.html.erb
shadcn-ui-0.0.8 app/views/components/ui/_button.html.erb
shadcn-ui-0.0.5 app/views/components/ui/_button.html.erb
shadcn-ui-0.0.4 app/views/components/ui/_button.html.erb
shadcn-ui-0.0.3 app/views/components/ui/_button.html.erb
shadcn-ui-0.0.2 app/views/components/ui/_button.html.erb
shadcn-ui-0.0.1 app/views/components/ui/_button.html.erb