UNPKG

@kinde-oss/kinde-auth-react

Version:

Kinde React SDK for authentication

10 lines 390 B
import { has } from '@kinde/js-utils'; import { default as React } from 'react'; interface ProtectedRouteProps { children: React.ReactNode; has?: Parameters<typeof has>[0]; fallbackPath?: string; } export default function ProtectedRoute({ children, has: hasParams, fallbackPath, }: ProtectedRouteProps): React.JSX.Element; export {}; //# sourceMappingURL=ProtectedRoute.d.ts.map