Interface UseReferralReturn

Interface representing the return object of the useReferral hook.

Hierarchy

  • UseReferralReturn

Properties

fetched: boolean

A boolean indicating whether the referral data has been fetched.

referees: Referee[]

The fetched referees data.

referrer: null | Referrer

The fetched referrer data, or null if not yet fetched.

refresh: ((quiet?) => void)

Type declaration

    • (quiet?): void
    • A method to manually refresh the referral data.

      Parameters

      • Optional quiet: boolean

      Returns void

Generated using TypeDoc