react-webcam
Advanced tools
Comparing version 4.1.1 to 4.2.0
import * as React from "react"; | ||
export interface WebcamProps { | ||
export interface WebcamProps extends React.HTMLProps<HTMLVideoElement> { | ||
audio: boolean; | ||
@@ -20,3 +20,3 @@ audioConstraints?: MediaStreamConstraints["audio"]; | ||
} | ||
export default class Webcam extends React.Component<WebcamProps & React.HTMLAttributes<HTMLVideoElement>, WebcamState> { | ||
export default class Webcam extends React.Component<WebcamProps, WebcamState> { | ||
static defaultProps: { | ||
@@ -23,0 +23,0 @@ audio: boolean; |
{ | ||
"name": "react-webcam", | ||
"version": "4.1.1", | ||
"version": "4.2.0", | ||
"description": "React webcam component", | ||
@@ -5,0 +5,0 @@ "main": "dist/react-webcam.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
155713