Class: LightningUiKit::AuthLayoutComponent
- Inherits:
-
BaseComponent
- Object
- BaseComponent
- LightningUiKit::AuthLayoutComponent
- Defined in:
- app/components/lightning_ui_kit/auth_layout_component.rb
Instance Method Summary collapse
- #classes ⇒ Object
-
#initialize(**options) ⇒ AuthLayoutComponent
constructor
A new instance of AuthLayoutComponent.
Constructor Details
#initialize(**options) ⇒ AuthLayoutComponent
Returns a new instance of AuthLayoutComponent.
2 3 4 |
# File 'app/components/lightning_ui_kit/auth_layout_component.rb', line 2 def initialize(**) @options = end |
Instance Method Details
#classes ⇒ Object
6 7 8 |
# File 'app/components/lightning_ui_kit/auth_layout_component.rb', line 6 def classes merge_classes(["lui-page-gradient lui:flex lui:min-h-dvh lui:flex-col lui:bg-surface-page lui:p-2", @options[:class]].compact.join(" ")) end |