Class: Blacklight::Icons::CircleInfoSolidComponent

Inherits:
IconComponent
  • Object
show all
Defined in:
app/components/blacklight/icons/circle_info_solid_component.rb

Instance Method Summary collapse

Instance Method Details

#svgObject



8
9
10
11
12
13
14
15
# File 'app/components/blacklight/icons/circle_info_solid_component.rb', line 8

def svg
  "    <svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 512 512\"><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc. -->\n      <title>\#{title}</title>\n     <path fill=\"#6c757d\" d=\"M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336h24V272H216c-13.3 0-24-10.7-24-24s10.7-24 24-24h48c13.3 0 24 10.7 24 24v88h8c13.3 0 24 10.7 24 24s-10.7 24-24 24H216c-13.3 0-24-10.7-24-24s10.7-24 24-24zm40-208a32 32 0 1 1 0 64 32 32 0 1 1 0-64z\"/>\n    </svg>\n  SVG\nend\n"

#titleObject



17
18
19
20
# File 'app/components/blacklight/icons/circle_info_solid_component.rb', line 17

def title
  key = "blacklight.icon.#{name}"
  t(key)
end