15 lines
347 B
TypeScript
15 lines
347 B
TypeScript
/// <reference types="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;
|
|
}
|
|
declare function QrCode(props: QrCodeProps): JSX.Element;
|
|
export default QrCode;
|