We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The errorMessages in the props of the Camera component is not optional.
Therefore, the following error occurs if props is omitted as follows.
<Camera ref={cameraRef} />
Property 'errorMessages' is missing in type '{ ref: RefObject<CameraType>; aspectRatio: number; }' but required in type 'CameraProps'.ts
To resolve the error, it should be stated as such.
<Camera ref={cameraRef} errorMessages={{}} />
The README is marked as optional, as shown below, so this is considered to be an implementation error. https://github.com/purple-technology/react-camera-pro/blob/master/README.md?plain=1#L74
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The errorMessages in the props of the Camera component is not optional.
Therefore, the following error occurs if props is omitted as follows.
To resolve the error, it should be stated as such.
The README is marked as optional, as shown below, so this is considered to be an implementation error.
https://github.com/purple-technology/react-camera-pro/blob/master/README.md?plain=1#L74
The text was updated successfully, but these errors were encountered: