Make types happier
This commit is contained in:
parent
95e78f6210
commit
13c9755ff3
1 changed files with 2 additions and 2 deletions
|
@ -15,13 +15,13 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import { toDataURL, QRCodeSegment, QRCodeToDataURLOptions } from "qrcode";
|
import { toDataURL, QRCodeSegment, QRCodeToDataURLOptions, QRCodeRenderersOptions } from "qrcode";
|
||||||
import classNames from "classnames";
|
import classNames from "classnames";
|
||||||
|
|
||||||
import { _t } from "../../../languageHandler";
|
import { _t } from "../../../languageHandler";
|
||||||
import Spinner from "./Spinner";
|
import Spinner from "./Spinner";
|
||||||
|
|
||||||
interface IProps extends QRCodeToDataURLOptions {
|
interface IProps extends QRCodeRenderersOptions {
|
||||||
data: string | QRCodeSegment[];
|
data: string | QRCodeSegment[];
|
||||||
className?: string;
|
className?: string;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue