15 lines
404 B
TypeScript
15 lines
404 B
TypeScript
|
|
import * as _$vue from "vue";
|
||
|
|
import { MaybeRefOrGetter } from "vue";
|
||
|
|
import QRCode from "qrcode";
|
||
|
|
|
||
|
|
//#region useQRCode/index.d.ts
|
||
|
|
/**
|
||
|
|
* Wrapper for qrcode.
|
||
|
|
*
|
||
|
|
* @see https://vueuse.org/useQRCode
|
||
|
|
* @param text
|
||
|
|
* @param options
|
||
|
|
*/
|
||
|
|
declare function useQRCode(text: MaybeRefOrGetter<string>, options?: QRCode.QRCodeToDataURLOptions): _$vue.ShallowRef<string, string>;
|
||
|
|
//#endregion
|
||
|
|
export { useQRCode };
|