# Referral

This type is used by an exported signature but is not directly exported from `@plandalf/react`'s package entrypoint. It is shown here from [hooks/useReferral.ts:4](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/hooks/useReferral.ts#L4) so the signature can be inspected fully.

```ts
interface Referral {
  token: string;
  code: string;
  clicked_at?: string;
  expires_at: string;
  holdout: boolean;
  partner: { name: string; avatar_url: string | null; verified: boolean; message: string | null };
  promo: { slug: string } | null;
}
```

Source: https://plandalf.com/docs/packages/react/referenced-types/Referral
