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

25 lines
725 B
TypeScript

import React from 'react';
import { WebComponentProps } from 'oak-frontend-base';
import './web.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;
disabled: boolean;
color: string;
bgColor: string;
};
export default function Render(props: WebComponentProps<EntityDict, keyof EntityDict, false, IQrCodeProps & {
isBase64: boolean;
expiresAtStr: string;
expired: boolean;
}, {}>): React.JSX.Element;
export {};