1.0.1 • Published 1 year ago

react-native-suno-qrcode v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

react-native-suno-qrcode

React Native Suno QRCode

Installation

npm install react-native-suno-qrcode

Usage

import { Platform } from 'react-native';
import { generateQRCodeBase64 } from 'react-native-suno-qrcode';

// ...

const qrBase64 = await generateQRCodeBase64('https://suno.vn', 400, 400);
const imageUrl = 'data:image/png;base64,' + Platform.select({ ios: encodeURIComponent(qrBase64), android: qrBase64 });

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library