• Create hooks for the gdpr-guard library based on the provided GdprSavior

    Returns

    The React hooks associated to that GdprSavior

    Parameters

    • savior: GdprSavior

      The GdprSavior to wrap

    • managerFactory: GdprManagerFactory

      A factory to the latest version of your GdprManager

    Returns GdprGuardHooks