Sha256: aedfb5d29ca6a3a223e68d2ffb9f825167955f53ec534f4a221dbf67ba4f195a
Contents?: true
Size: 465 Bytes
Versions: 8
Compression:
Stored size: 465 Bytes
Contents
# frozen_string_literal: true module Olivander module Components class PortletComponent < ViewComponent::Base def initialize(title, background: nil, header_background: 'bg-secondary', turbo_frame: nil, src: nil, loading: nil) super @title = title @background = background @header_background = header_background @turbo_frame = turbo_frame @src = src @loading = loading end end end end
Version data entries
8 entries across 8 versions & 1 rubygems