react-native-youtube-bridge
Version:
🎥 Easy-to-use YouTube player for React Native with cross-platform support
27 lines (26 loc) • 564 B
JavaScript
;
import { StyleSheet, View } from 'react-native';
import { jsx as _jsx } from "react/jsx-runtime";
function YoutubeViewWrapper({
children,
width,
height,
style
}) {
const safeStyles = StyleSheet.flatten([styles.container, {
width,
height
}, style]);
return /*#__PURE__*/_jsx(View, {
style: safeStyles,
children: children
});
}
const styles = StyleSheet.create({
container: {
backgroundColor: '#000',
overflow: 'hidden'
}
});
export default YoutubeViewWrapper;
//# sourceMappingURL=YoutubeViewWrapper.js.map