membros-react-sdk
Version:
React authentication library for Membros platform with subscription management and plan-based access control
12 lines • 528 B
TypeScript
import React from "react";
interface WithAdminAuthOptions {
adminUserId: string;
useToast?: any;
LoadingComponent?: React.ComponentType;
AuthComponent?: React.ComponentType;
InadimplentComponent?: React.ComponentType;
UnauthorizedComponent?: React.ComponentType;
}
export declare function withAdminAuth<P extends object>(Component: React.ComponentType<P>, options: WithAdminAuthOptions): (props: P) => import("react/jsx-runtime").JSX.Element | null;
export {};
//# sourceMappingURL=withAdminAuth.d.ts.map