UNPKG

@zezosoft/zezo-ott-react-native-video-player

Version:

React Native OTT Video Player for Android & iOS. Supports playlists, seasons, auto-next playback, subtitles, theming, analytics, fullscreen mode, and custom controls. 🚀 Powered by ZezoSoft.

27 lines (26 loc) • 818 B
"use strict"; import { memo } from 'react'; import { StyleSheet, SafeAreaView } from 'react-native'; import TopControls from "./TopControls.js"; import MiddleControls from "./MiddleControls.js"; import BottomControls from "./BottomControls.js"; import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; const MediaControls = ({ onClose }) => { return /*#__PURE__*/_jsxs(SafeAreaView, { style: styles.container, children: [/*#__PURE__*/_jsx(TopControls, { onClose: onClose }), /*#__PURE__*/_jsx(MiddleControls, {}), /*#__PURE__*/_jsx(BottomControls, {})] }); }; export default /*#__PURE__*/memo(MediaControls); const styles = StyleSheet.create({ container: { flex: 1, flexDirection: 'column', justifyContent: 'space-between' } }); //# sourceMappingURL=MediaControls.js.map