Class: JetUi::List::IconComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- JetUi::List::IconComponent
- Defined in:
- app/components/jet_ui/list/icon_component.rb
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(name = nil, size: 5, **options) ⇒ IconComponent
constructor
A new instance of IconComponent.
Constructor Details
#initialize(name = nil, size: 5, **options) ⇒ IconComponent
Returns a new instance of IconComponent.
6 7 8 9 10 |
# File 'app/components/jet_ui/list/icon_component.rb', line 6 def initialize(name = nil, size: 5, **) @name = name @size = size @options = end |