# frozen_string_literal: true class SolidusAdmin::RefundReasons::New::Component < SolidusAdmin::BaseComponent def initialize(page:, refund_reason:) @page = page @refund_reason = refund_reason end def form_id dom_id(@refund_reason, "#{stimulus_id}_new_refund_reason_form") end end