oak-general-business/es/components/common/weChatLoginQrCode/index.d.ts

19 lines
467 B
TypeScript

import React from 'react';
import './index.less';
interface QrCodeProps {
id?: string;
appId: string;
scope: 'snsapi_userinfo' | 'snsapi_login';
redirectUri: string;
state?: string;
style?: string;
href?: string;
dev?: boolean;
disabled?: boolean;
disableText?: React.ReactNode;
rootStyle?: React.CSSProperties;
rootClassName?: string;
}
declare function QrCode(props: QrCodeProps): JSX.Element;
export default QrCode;