Files
_hublib-web/dist/react/video-player/components/with-processing/index.js

12 lines
617 B
JavaScript
Raw Normal View History

2026-02-27 09:50:13 +03:00
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import React from "react";
import PlayerExtension from "../player-extension";
import VideoProcessing from "./video-processing";
import styles from "./with-processing.module.scss";
const WithProcessing = ({ showProcessing = false, children, ...props }) => {
return (_jsxs(PlayerExtension, { className: props.className, children: [showProcessing && _jsx(VideoProcessing, { className: styles.processing }), React.cloneElement(children, {
...props,
})] }));
};
export default WithProcessing;
//# sourceMappingURL=index.js.map