matrix-react-sdk
Version:
SDK for matrix.org using React
10 lines (9 loc) • 346 B
TypeScript
import * as React from "react";
import { QRCodeSegment, QRCodeRenderersOptions } from "qrcode";
interface IProps extends QRCodeRenderersOptions {
/** The data for the QR code. If `null`, a spinner is shown. */
data: null | string | QRCodeSegment[];
className?: string;
}
declare const QRCode: React.FC<IProps>;
export default QRCode;