Skip to content

Commit

Permalink
Add missing prop typing for ref
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldzjap committed Jul 26, 2024
1 parent edb0c7f commit f4fbe80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/SignaturePad.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ type Props = {
height?: number;
options?: Options;
canvasProps?: { [key: string]: string | { [key: string]: string } };
ref?: React.RefObject<SignaturePad>;
} & DefaultProps;

type DefaultProps = {
Expand Down

0 comments on commit f4fbe80

Please sign in to comment.