app/components/ariadne/ui/combobox/item/component.rb in ariadne_view_components-0.0.79.2 vs app/components/ariadne/ui/combobox/item/component.rb in ariadne_view_components-0.0.80.3
- old
+ new
@@ -3,10 +3,10 @@
module Ariadne
module UI
module Combobox
module Item
- class Component < BaseComponent
+ class Component < Ariadne::BaseComponent
option :label
option :as, default: proc { :link } # :button
accepts_html_attributes do |html_attrs|
html_attrs[:class] = Ariadne::ViewComponents.tailwind_merger.merge([style(as:), html_attrs[:class]].join(" "))