mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-08-16 02:56:22 +00:00
fix(web): add missing component type
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ interface WebVideoElementProps
|
||||
// styles.
|
||||
//
|
||||
// See <https://necolas.github.io/react-native-web/docs/unstable-apis/#use-with-existing-react-dom-components>
|
||||
function WebVideo(props: WebVideoElementProps) {
|
||||
function WebVideo(props: WebVideoElementProps): React.JSX.Element {
|
||||
return unstable_createElement('video', props);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user