Class: Flowbite::Breadcrumb::Item::Current

Inherits:
Item
  • Object
show all
Defined in:
app/components/flowbite/breadcrumb/item/current.rb

Overview

Renders the current page breadcrumb item. Current items are rendered as non-interactive spans with different styling.

Examples:

Current page item

<%= render Flowbite::Breadcrumb::Item::Current.new { "Current Page" } %>

Instance Method Summary collapse

Constructor Details

#initialize(**options) ⇒ Current

Returns a new instance of Current.



14
15
16
# File 'app/components/flowbite/breadcrumb/item/current.rb', line 14

def initialize(**options)
  super(href: nil, **options)
end