Sha256: b15c2cd97fb807359ac6be07de77c222d80453bba0aa022b49af751408ed8201
Contents?: true
Size: 657 Bytes
Versions: 57
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true module Olivander module Components class PortletComponent < ViewComponent::Base renders_one :header_tools def initialize(title, *args) super @title = title options = args.extract_options! @card_type = options[:card_type] || 'card-default' @background = options[:background] @header_background = options[:header_background] @turbo_frame = options[:turbo_frame] @src = options[:src] @loading = options[:loading] @card_data = options[:card_data] @turbo_frame_data = options[:turbo_frame_data] end end end end
Version data entries
57 entries across 57 versions & 1 rubygems