Skip to content

Commit d98b5bd

Browse files
feat: circle mode for QR code styling
1 parent cdba62f commit d98b5bd

File tree

4 files changed

+36
-5
lines changed

4 files changed

+36
-5
lines changed

index.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ export interface QRCodeProps {
3737
ecl?: "L" | "M" | "Q" | "H";
3838
/* error handler called when matrix fails to generate */
3939
onError?: Function;
40+
/* mode of qr code default with draw path and circle will make circles. Defaults to normal*/
41+
mode?: "default" | "circle";
4042
}
4143

4244
export default QRCode;

0 commit comments

Comments
 (0)