Skip to content

Commit 6976b4a

Browse files
authored
Merge pull request #63 from michaeldzjap/fix/missing-prop-typing
Add missing prop type for ref
2 parents edb0c7f + f4fbe80 commit 6976b4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SignaturePad.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ type Props = {
77
height?: number;
88
options?: Options;
99
canvasProps?: { [key: string]: string | { [key: string]: string } };
10+
ref?: React.RefObject<SignaturePad>;
1011
} & DefaultProps;
1112

1213
type DefaultProps = {

0 commit comments

Comments
 (0)