DefinitelyTyped/types/qrcode.react/qrcode.react-tests.tsx
Yonas Adiel 0e1c6adfe7 add optional includeMargin on qrcode.react definition (#38758)
* add optional includeMargin on qrcode.react definition

* update the version of qrcode.react that is supported

* remove patch version
2019-10-03 13:54:53 -07:00

15 lines
886 B
TypeScript

import QRCode = require("qrcode.react");
import * as React from "react";
const qrcodes = [
<QRCode value="https://github.com/DefinitelyTyped/DefinitelyTyped"/>,
<QRCode value="https://github.com/DefinitelyTyped/DefinitelyTyped" size={64}/>,
<QRCode value="https://github.com/DefinitelyTyped/DefinitelyTyped" bgColor="#555555"/>,
<QRCode value="https://github.com/DefinitelyTyped/DefinitelyTyped" fgColor="#aaaaaa"/>,
<QRCode value="https://github.com/DefinitelyTyped/DefinitelyTyped" level="L"/>,
<QRCode value="https://github.com/DefinitelyTyped/DefinitelyTyped" level="H"/>,
<QRCode value="https://github.com/DefinitelyTyped/DefinitelyTyped" includeMargin={true}/>,
<QRCode value="https://github.com/DefinitelyTyped/DefinitelyTyped" size={256} bgColor="pink" fgColor="red" level="Q"/>,
<QRCode value="https://github.com/DefinitelyTyped/DefinitelyTyped" renderAs="svg"/>,
];