Factor out FontAwesome icons into a set of helpers. This is so that it's easier to keep track of which icons we're using and easier to change icons globally.
9 lines
182 B
Ruby
9 lines
182 B
Ruby
# frozen_string_literal: true
|
|
|
|
class PopupMenuComponent < ApplicationComponent
|
|
include ViewComponent::SlotableV2
|
|
delegate :ellipsis_icon, to: :helpers
|
|
|
|
renders_many :items
|
|
end
|