UNPKG

membros-react-sdk

Version:

React authentication library for Membros platform with subscription management and plan-based access control

11 lines 458 B
import React from "react"; interface WithAuthOptions { useToast?: any; LoadingComponent?: React.ComponentType; AuthComponent?: React.ComponentType; InadimplentComponent?: React.ComponentType; requiredPlans?: string[]; } export declare function withAuth<P extends object>(Component: React.ComponentType<P>, options?: WithAuthOptions): (props: P) => import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=withAuth.d.ts.map