This commit is contained in:
2026-07-27 22:57:03 +02:00
commit 70a0a07ecc
107 changed files with 2369 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
"use strict";
import { memo } from "react";
import { getHostComponent } from "react-native-nitro-modules";
import OmniConfig from "../nitrogen/generated/shared/json/OmniViewConfig.json";
import { usePlayer } from "./provider";
import { jsx as _jsx } from "react/jsx-runtime";
const NativeView = /*#__PURE__*/memo(getHostComponent("OmniView", () => OmniConfig));
export const OmniView = /*#__PURE__*/memo(({
// Web-only; not forwarded to the native view.
subtitleAssets: _subtitleAssets,
...props
}) => {
const player = usePlayer();
return /*#__PURE__*/_jsx(NativeView, {
player: player,
...props
});
});
//# sourceMappingURL=view.js.map