Class: Card::CardComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Card::CardComponent
- Defined in:
- app/components/card/card_component.rb
Defined Under Namespace
Classes: FooterComponent, HeaderComponent
Instance Method Summary collapse
-
#initialize(**options) ⇒ CardComponent
constructor
A new instance of CardComponent.
Constructor Details
#initialize(**options) ⇒ CardComponent
Returns a new instance of CardComponent.
14 15 16 17 |
# File 'app/components/card/card_component.rb', line 14 def initialize(**) @classes = [:classes] @styles = [:styles] end |