Class: AtomicView::Component

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
lib/atomic_view/component.rb

Direct Known Subclasses

AtomicView::Components::ButtonComponent

Instance Method Summary collapse

Instance Method Details

#class_namesObject



5
6
7
8
# File 'lib/atomic_view/component.rb', line 5

def class_names(...)
  classes = super
  TailwindMerge::Merger.new.merge(classes)
end