next-password
Version:
Use password to protect your Next.js application.
11 lines (10 loc) • 384 B
TypeScript
import { ReactElement } from 'react';
import { default as Login } from './login';
export declare type FlushToReact = <T>(opts?: {
nonce?: string;
}) => Array<ReactElement<T>>;
declare const loginServerFlush: FlushToReact;
export type { LoginProps } from './login';
export type { NextPasswordOptions } from './middleware';
export { Login, loginServerFlush };
export default Login;