Sha256: 9f33b2d0d43514a7db35134236bb81c37d4184c777aace753db8db32be154ee5
Contents?: true
Size: 481 Bytes
Versions: 25
Compression:
Stored size: 481 Bytes
Contents
# frozen_string_literal: true module Katalyst module Tables class HeaderRowComponent < ViewComponent::Base # :nodoc: include Katalyst::HtmlAttributes renders_many :cells, ->(cell) { cell } def before_render content # ensure content is rendered so html_attributes can be set end def header? true end def body? false end def inspect "#<#{self.class.name}>" end end end end
Version data entries
25 entries across 25 versions & 1 rubygems