"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "AndroidPlayer", { enumerable: true, get: function () { return _AndroidPlayer.default; } }); Object.defineProperty(exports, "IOSPlayer", { enumerable: true, get: function () { return _IOSPlayer.default; } }); exports.default = void 0; var _react = _interopRequireDefault(require("react")); var _reactNative = require("react-native"); var _IOSPlayer = _interopRequireDefault(require("./component/Main/Players/IOSPlayer.cjs")); var _AndroidPlayer = _interopRequireDefault(require("./component/Main/Players/AndroidPlayer.cjs")); var _jsxRuntime = require("react/jsx-runtime"); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } // import styled from 'styled-components/native'; const isIOS = _reactNative.Platform.OS === 'ios'; // Define the common props shared between the components // const TestBox = styled.View` // height: 10px; // width: 10px; // background-color: red; // `; const Index = props => { if (isIOS) { const iosProps = { ...props // Add any iOS-specific props or adjustments here }; return /*#__PURE__*/(0, _jsxRuntime.jsx)(_IOSPlayer.default, { ...iosProps }); } else { const androidProps = { ...props // Add any Android-specific props or adjustments here }; return /*#__PURE__*/(0, _jsxRuntime.jsx)(_AndroidPlayer.default, { ...androidProps }); } }; var _default = exports.default = Index; //# sourceMappingURL=index.cjs.map