Class: Phlex::Remixicon::QuestionMarkIcon

Inherits:
Icon
  • Object
show all
Defined in:
lib/phlex/remixicon/icons/question_mark_icon.rb

Instance Attribute Summary

Attributes inherited from Icon

#props, #size

Instance Method Summary collapse

Methods inherited from Icon

#initialize

Constructor Details

This class inherits a constructor from Phlex::Remixicon::Icon

Instance Method Details

#view_templateObject



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/phlex/remixicon/icons/question_mark_icon.rb', line 6

def view_template
  svg(
    viewbox: "0 0 24 24",
    fill: "currentColor",
    xmlns: "http://www.w3.org/2000/svg",
    **props
  ) do |s|
    s.path(
      d:
        "M12 19C12.8284 19 13.5 19.6716 13.5 20.5C13.5 21.3284 12.8284 22 12 22C11.1716 22 10.5 21.3284 10.5 20.5C10.5 19.6716 11.1716 19 12 19ZM12 2C15.3137 2 18 4.68629 18 8C18 10.1646 17.2474 11.2907 15.3259 12.9231C13.3986 14.5604 13 15.2969 13 17H11C11 14.526 11.787 13.3052 14.031 11.3989C15.5479 10.1102 16 9.43374 16 8C16 5.79086 14.2091 4 12 4C9.79086 4 8 5.79086 8 8V9H6V8C6 4.68629 8.68629 2 12 2Z"
    )
  end
end