nuxt-x-affiliate
ReferralTable
Referral tracking table showing source, conversion status, commission, and date.
ReferralTable
The XAFReferralTable component renders a detailed table of all referrals tracked for the authenticated affiliate. Each row shows traffic source, conversion status, commission amount, and date.
Components
<XAFReferralTable />
Feed it the referrals array from useAffiliate().
<XAFReferralTable
:referrals="referrals"
currency="USD"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
referrals | Referral[] | required | Referral records from useAffiliate().referrals |
currency | string | 'USD' | Currency code for commission amount formatting |
title | string | 'Referrals' | Table section heading |
AI Context
component: XAFReferralTable
package: "@xenterprises/nuxt-x-affiliate"
use-when: Affiliate dashboard table showing individual referral events with source, status, and commission
