Class: RubyUI::ComboboxItemIndicator

Inherits:
Base
  • Object
show all
Defined in:
lib/ruby_ui/combobox/combobox_item_indicator.rb

Constant Summary

Constants inherited from Base

Base::TAILWIND_MERGER

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from RubyUI::Base

Instance Method Details

#view_templateObject



5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/ruby_ui/combobox/combobox_item_indicator.rb', line 5

def view_template
  svg(
    xmlns: "http://www.w3.org/2000/svg",
    width: "24",
    height: "24",
    viewbox: "0 0 24 24",
    fill: "none",
    stroke: "currentColor",
    stroke_width: "2",
    stroke_linecap: "round",
    stroke_linejoin: "round",
    **attrs
  ) do |s|
    s.path(d: "M20 6 9 17l-5-5")
  end
end