Class: PhlexKit::SidebarSeparator
- Inherits:
-
BaseComponent
- Object
- Phlex::HTML
- BaseComponent
- PhlexKit::SidebarSeparator
- Defined in:
- app/components/phlex_kit/sidebar/sidebar_separator.rb
Overview
Divider between sidebar sections, ported from shadcn/ui's SidebarSeparator: the kit Separator inset to the sidebar's padding and tinted with the sidebar border role. See sidebar.rb.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ SidebarSeparator
constructor
A new instance of SidebarSeparator.
- #view_template ⇒ Object
Methods inherited from BaseComponent
Constructor Details
#initialize(**attrs) ⇒ SidebarSeparator
Returns a new instance of SidebarSeparator.
6 7 8 |
# File 'app/components/phlex_kit/sidebar/sidebar_separator.rb', line 6 def initialize(**attrs) @attrs = attrs end |