Class: Flowbite::BreadcrumbSeparator
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Flowbite::BreadcrumbSeparator
- Defined in:
- app/components/flowbite/breadcrumb_separator.rb
Overview
Renders a breadcrumb separator icon.
This is automatically used by BreadcrumbItem components, but can be used standalone if needed.
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'app/components/flowbite/breadcrumb_separator.rb', line 12 def call tag.svg( class: "rtl:rotate-180 w-3 h-3 text-gray-400 mx-1", "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 6 10" ) do tag.path( stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "m1 9 4-4-4-4" ) end end |