module Ariadne::ViewComponent::HTMLAttrs

def default_html_attributes_for(name)

def default_html_attributes_for(name)
  html_attribute_accessors.fetch(name).each_with_object(AttributesHash.new) do |(k, v), acc|
    acc[k] = v.is_a?(Proc) ? v.call : v
    acc
  end
end