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

26 lines
725 B
TypeScript

import React from 'react';
import { WebComponentProps } from 'oak-frontend-base';
import { EntityDict } from '../../../oak-app-domain';
type Option = {
label: string;
value: string;
};
export default function Render(props: WebComponentProps<EntityDict, 'token', false, {
loginMode?: number;
appId: string;
loading: boolean;
width: string;
isSupportWechatGrant: boolean;
domain?: string;
disabled?: string;
redirectUri: string;
url: string;
passportTypes: EntityDict['passport']['Schema']['type'][];
callback: (() => void) | undefined;
inputOptions: Option[];
scanOptions: Option[];
}, {
setLoginMode: (value: number) => void;
}>): React.JSX.Element;
export {};