17 lines
564 B
TypeScript
17 lines
564 B
TypeScript
import React from 'react';
|
|
import { WebComponentProps } from 'oak-frontend-base';
|
|
import { EntityDict } from '../../../oak-app-domain';
|
|
export default function Render(props: WebComponentProps<EntityDict, 'token', false, {
|
|
loading: boolean;
|
|
disabled?: string;
|
|
account: string;
|
|
password: string;
|
|
validMobile: boolean;
|
|
validPassword: boolean;
|
|
allowSubmit: boolean;
|
|
accountPlaceholder: string;
|
|
}, {
|
|
loginByAccount: () => Promise<void>;
|
|
inputChange: (type: 'account' | 'password', value: string) => void;
|
|
}>): React.JSX.Element;
|