@altanlabs/auth
Version:
React authentication library built on top of @altanlabs/database
8 lines • 303 B
TypeScript
import { ReactNode } from "react";
interface ProtectedRouteProps {
children: ReactNode;
redirectTo?: string;
}
export declare function ProtectedRoute({ children, redirectTo, }: ProtectedRouteProps): import("react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=ProtectedRoute.d.ts.map