Class: Irelia::AppShell::Component

Inherits:
Component
  • Object
show all
Defined in:
app/components/irelia/app_shell/component.rb

Instance Method Summary collapse

Methods inherited from Component

#add_css_classes, after_initialize, #html_options, inherited, #initialize, run_after_initialize_hooks

Constructor Details

This class inherits a constructor from Irelia::Component

Instance Method Details

#variantsObject



8
9
10
11
12
13
# File 'app/components/irelia/app_shell/component.rb', line 8

def variants
  class_names(
    "irelia-app-shell",
    "irelia-app-shell--default": variant == :default
  )
end