UNPKG

expo-barcode

Version:

Library to generate barcodes and qr codes natively using Kotlin and Swift, integrated with expo.

15 lines 662 B
interface CodeViewProps { value: string; width: number; height: number; } interface QRCodeViewProps extends CodeViewProps { } interface BarcodeViewProps extends CodeViewProps { } export declare function generateBarcode(value: string, width: number, height: number): Promise<string>; export declare function generateQRCode(value: string, width: number, height: number): Promise<string>; export declare function BarcodeView({ value, width, height }: BarcodeViewProps): import("react").JSX.Element; export declare function QRCodeView({ value, width, height }: QRCodeViewProps): import("react").JSX.Element; export {}; //# sourceMappingURL=index.d.ts.map