mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
11 lines
212 B
Ruby
11 lines
212 B
Ruby
# frozen_string_literal: true
|
|
|
|
class TableHeaderComponent < ViewComponentReflex::Component
|
|
def initialize(columns:, sort:, data: {})
|
|
super
|
|
@columns = columns
|
|
@sort = sort
|
|
@data = data
|
|
end
|
|
end
|