Skip to content

Commit 4ce58e2

Browse files
authored
fix: make image border optional (#19)
1 parent 0c6620b commit 4ce58e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbstractQRCodeWithImage.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type ImageConfigType = {
1111
height: number | string; // 20 | 20%
1212
x: number | string; // 20 | 20% | center | left 20% | right 20%
1313
y: number | string; // 20 | 20% | center | top 20% | bottom 20%,
14-
border: number | null;
14+
border?: number;
1515
};
1616

1717
export type OptionsType = ParentOptionsType & {

0 commit comments

Comments
 (0)