Class: Solidstats::Ui::DashboardLayoutComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Solidstats::Ui::DashboardLayoutComponent
- Defined in:
- app/components/solidstats/ui/dashboard_layout_component.rb
Overview
Main dashboard layout component
Instance Method Summary collapse
-
#initialize(title:, subtitle: nil, navigation: {}, **options) ⇒ DashboardLayoutComponent
constructor
A new instance of DashboardLayoutComponent.
Methods inherited from BaseComponent
#css_classes, #format_number, #safe_get, #status_class, #status_icon, #status_text
Constructor Details
#initialize(title:, subtitle: nil, navigation: {}, **options) ⇒ DashboardLayoutComponent
Returns a new instance of DashboardLayoutComponent.
7 8 9 10 11 12 |
# File 'app/components/solidstats/ui/dashboard_layout_component.rb', line 7 def initialize(title:, subtitle: nil, navigation: {}, **) @title = title @subtitle = subtitle @navigation = @options = end |