Class: Spotlight::IconComponent

Inherits:
Blacklight::Icons::IconComponent
  • Object
show all
Defined in:
app/components/spotlight/icon_component.rb

Overview

Displays the document

Instance Method Summary collapse

Constructor Details

#initialize(*args, **kwargs) ⇒ IconComponent

Returns a new instance of IconComponent.



6
7
8
9
10
11
# File 'app/components/spotlight/icon_component.rb', line 6

def initialize(*args, **kwargs)
  Spotlight.deprecator.warn(
    'Spotlight::IconComponent is deprecated and will be removed in a future version. Use Blacklight::Icons::IconComponent instead.'
  )
  super
end