Method: Bs5::ButtonGroupComponent#component_attributes

Defined in:
app/components/bs5/button_group_component.rb

#component_attributesObject



20
21
22
23
24
# File 'app/components/bs5/button_group_component.rb', line 20

def component_attributes
  default_options = { role: 'group' }
  @options[:class] = component_class
  @options.merge(default_options)
end