Sha256: bab4899dfa6b42dedfc2bb38bc902edfaa58f75ef72771e5975523dda9e49f0b

Contents?: true

Size: 579 Bytes

Versions: 9

Compression:

Stored size: 579 Bytes

Contents

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

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

<p class="leading-7 [&:not(:first-child)]:mt-6">
The method <%= code("render_badge") %> defined in <%= code("app/helpers/components/badge_helper.rb") %>
accepts a <%= code("text:") %> required keyword argument along with an optional <%= code("variant:") %> argument for the kind of badge to render.</p>

Version data entries

9 entries across 9 versions & 1 rubygems

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