# frozen_string_literal: true class <%= class_name %> < ::ApplicationComponent # Props that your component accepts prop :description, default: -> { 'Default Description' } after_initialize do # some initialization @time = ::Time.now end end