Sha256: d2bb2f4ef83307926e7e9bd9887dffa8a9f92208431408a969910210d745dd0b
Contents?: true
Size: 663 Bytes
Versions: 8
Compression:
Stored size: 663 Bytes
Contents
<p class="leading-7 [&:not(:first-child)]:mt-6">The Toast component introduces:</p> <ul class="my-6 ml-6 list-disc [&>li]:mt-2 text-sm"> <li><%= code("app/helpers/components/toast_helper.rb") %></li> <li><%= code("app/javascript/controllers/ui/toast_controller.js") %></li> <li><%= code("app/views/components/ui/_toast.html.erb") %></li> </ul> <p class="leading-7 [&:not(:first-child)]:mt-6"> <%= code("render_toast") %> accepts two keyword arguments, one for the <%= code("header") %> and the second for the <%= code("description") %> or body of the toast. An optional 3rd argument can be provided for an <%= code("action") %> element like a button.</p>
Version data entries
8 entries across 8 versions & 1 rubygems