UNPKG

opds-web-client

Version:
16 lines (15 loc) 588 B
import * as React from "react"; import { BasicAuthMethod } from "../interfaces"; import { AuthFormProps } from "./AuthProviderSelectionForm"; export interface BasicAuthFormProps extends AuthFormProps<BasicAuthMethod> { } export default class BasicAuthForm extends React.Component<BasicAuthFormProps, any> { constructor(props: any); render(): JSX.Element; componentWillReceiveProps(nextProps: any): void; loginLabel(): string; passwordLabel(): string; validate(): boolean; submit(event: any): void; generateCredentials(login: any, password: any): string; }