Skip to content

Commit f4fbe80

Browse files
committed
Add missing prop typing for ref
1 parent edb0c7f commit f4fbe80

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)