feat: release v0.0.1
This commit is contained in:
12
dist/react/video-player/components/with-processing/index.js
vendored
Normal file
12
dist/react/video-player/components/with-processing/index.js
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user