Class: LightningUiKit::SkeletonComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/lightning_ui_kit/skeleton_component.rb

Instance Method Summary collapse

Methods inherited from BaseComponent

#merge_classes

Methods included from HeroiconHelper

#heroicon

Constructor Details

#initialize(with_title: false, lines: 3) ⇒ SkeletonComponent

Returns a new instance of SkeletonComponent.



4
5
6
7
# File 'app/components/lightning_ui_kit/skeleton_component.rb', line 4

def initialize(with_title: false, lines: 3)
  @with_title = with_title
  @lines = lines
end