Variation Hooks

useIgVariations()

Returns a list of Variations the user is in.

const useIgVariations: () => {
    isReady: boolean;
    variations: PluginVariationType[]
}

useIgVariation()

Returns the Variation the User is in for the inputted Experience.

const useIgVariation: (experienceId: string) => {
    isReady: boolean;
    variation: PluginVariationType | null;
}