Class: SolidusAdmin::UI::Table::Toolbar::Component
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- SolidusAdmin::UI::Table::Toolbar::Component
- Defined in:
- app/components/solidus_admin/ui/table/toolbar/component.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(**options) ⇒ Component
constructor
A new instance of Component.
Constructor Details
#initialize(**options) ⇒ Component
Returns a new instance of Component.
4 5 6 |
# File 'app/components/solidus_admin/ui/table/toolbar/component.rb', line 4 def initialize(**) @options = end |
Instance Method Details
#call ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'app/components/solidus_admin/ui/table/toolbar/component.rb', line 8 def call tag.div( content, **@options, class: " min-h-14 p-2 bg-white border-b border-gray-100 justify-start items-center gap-2 visible:flex hidden:hidden rounded-t-lg #{@options[:class]} " ) end |