Skip to content

Commit 0b5cc00

Browse files
committed
Update canvasProp types to allow object values
1 parent f232b9b commit 0b5cc00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SignaturePad.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type Props = {
66
width?: number;
77
height?: number;
88
options?: Options;
9-
canvasProps?: { [key: string]: string };
9+
canvasProps?: { [key: string]: string | { [key: string]: string } };
1010
} & DefaultProps;
1111

1212
type DefaultProps = {

0 commit comments

Comments
 (0)