Class: Icons::DragAndDropComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Icons::DragAndDropComponent
- Defined in:
- app/components/icons/drag_and_drop_component.rb
Instance Method Summary collapse
-
#initialize(text_color: 'text-tybo-800') ⇒ DragAndDropComponent
constructor
A new instance of DragAndDropComponent.
Constructor Details
#initialize(text_color: 'text-tybo-800') ⇒ DragAndDropComponent
Returns a new instance of DragAndDropComponent.
5 6 7 |
# File 'app/components/icons/drag_and_drop_component.rb', line 5 def initialize(text_color: 'text-tybo-800') @text_color = text_color end |