Skip to content

Commit a2bec1d

Browse files
authored
Merge pull request #33 from michael-krebs/canvas-prop-type
Update canvasProp types to allow object values
2 parents f232b9b + 0b5cc00 commit a2bec1d

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)