fix(web): add missing component type

This commit is contained in:
Krzysztof Moch
2025-06-11 08:36:37 +02:00
parent 9cf780276a
commit 9f03cc5a09

View File

@@ -23,7 +23,7 @@ interface WebVideoElementProps
// styles. // styles.
// //
// See <https://necolas.github.io/react-native-web/docs/unstable-apis/#use-with-existing-react-dom-components> // 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); return unstable_createElement('video', props);
} }