Closed Connorbelez closed 7 months ago
Looks like there's a linting error that snuck in upstream. I'll get that fixed today, and update your branch.
@Connorbelez Thank you for this PR 👏🏽
@shellscape This is ready to go🚀
@Connorbelez thanks for submitting this!
@Connorbelez apparently the API for qrcode
is different when in Node versus when in the browser. Very odd.
Component / Package Name:
This PR contains:
Are tests included?
Breaking Changes?
If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
This PR adds a new feature/component. A QR code which is buffered into a dataURL and passed as the src for a regular img component. sample usage: import { QrCode } from 'jsx-email';
const Email = () => { return ( <QrCode src="https://example.com" alt="QR Code" size={300} correctionLevel="H" /> ); };