Sha256: df248be2ed7be69778a210f63e753f520029a8a4426d0bcffabbd88eff686b38
Contents?: true
Size: 706 Bytes
Versions: 9
Compression:
Stored size: 706 Bytes
Contents
<p class="leading-7 [&:not(:first-child)]:mt-6">The Alert component introduces:</p> <ul class="my-6 ml-6 list-disc [&>li]:mt-2 text-sm"> <li><%= code("app/helpers/components/alert_helper.rb") %></li> <li><%= code("app/views/components/ui/_alert.html.erb") %></li> </ul> <p class="leading-7 [&:not(:first-child)]:mt-6"> The method <%= code("render_alert") %> defined in <%= code("app/helpers/components/alert_helper.rb") %> accepts a <%= code("title:") %> and <%= code("description:") %> required keyword arguments along with an optional <%= code("variant:") %> argument for the kind of alert to render. Skip the icon by setting the optional argument <%= code("icon:") %> to <%= code("false") %>.</p>
Version data entries
9 entries across 9 versions & 1 rubygems