oak-general-business/es/components/user/login/sms/web.d.ts

19 lines
605 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, {
counter: number;
loading: boolean;
disabled?: string;
mobile: string;
captcha: string;
validMobile: boolean;
validCaptcha: boolean;
allowSubmit: boolean;
digit: number;
}, {
sendCaptcha: () => Promise<void>;
loginByCaptcha: () => Promise<void>;
inputChange: (type: 'mobile' | 'captcha', value: string) => void;
}>): React.JSX.Element;