feat: release v0.0.1
This commit is contained in:
9
dist/react/video-player/components/with-errors/index.js
vendored
Normal file
9
dist/react/video-player/components/with-errors/index.js
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
||||
import React from "react";
|
||||
import VideoError from "./video-error";
|
||||
import styles from "./with-errors.module.scss";
|
||||
const WithErrors = ({ showErrors = false, children, ...props }) => {
|
||||
return (_jsxs("div", { className: styles.videoMain, style: { aspectRatio: props.options.aspectRatio }, children: [showErrors && _jsx(VideoError, { className: styles.errors }), React.cloneElement(children, { ...props })] }));
|
||||
};
|
||||
export default WithErrors;
|
||||
//# sourceMappingURL=index.js.map
|
||||
Reference in New Issue
Block a user