Sha256: 0c70aacf7762f25e6647599c6a80fa8e707b5a32a8674041ede0a91697f04248

Contents?: true

Size: 651 Bytes

Versions: 8

Compression:

Stored size: 651 Bytes

Contents

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

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

<p class="leading-7 [&:not(:first-child)]:mt-6">
  <%= code("render_popover") %> accepts a block where you call <%= code("popover_trigger") %>, whose block will be the element that triggers the popover and
  <%= code("popover_content") %> whose block will be the content of the popover.
<p>

Version data entries

8 entries across 8 versions & 1 rubygems

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