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

19 lines
552 B
TypeScript

import React from 'react';
import './index.less';
import { EntityDict } from '../../../oak-app-domain';
type IQrCodeProps = {
filename?: string;
expiresAt?: number;
tips?: React.ReactNode;
onDownload?: (qrCodeImage: string, filename?: string) => void;
onRefresh?: () => void;
size?: number;
url: string;
loading?: boolean;
disableDownload?: boolean;
successed?: boolean;
type?: EntityDict['wechatLogin']['Schema']['type'];
};
declare function QrCode(props: IQrCodeProps): JSX.Element;
export default QrCode;