import { motion } from 'framer-motion'; import PropTypes from 'prop-types'; import { clsm } from '../../../utils'; import { createAnimationProps } from '../../../helpers/animationPropsHelper'; const POSITION = { TOP: 'top', BOTTOM: 'bottom' }; const PlayerOverlay = ({ children, className, isGradientVisible, isVisible, position }) => (
{children}
); PlayerOverlay.propTypes = { children: PropTypes.node.isRequired, className: PropTypes.string, isGradientVisible: PropTypes.bool, isVisible: PropTypes.bool.isRequired, position: PropTypes.oneOf(Object.values(POSITION)) }; PlayerOverlay.defaultProps = { className: '', isGradientVisible: true, position: 'bottom' }; export default PlayerOverlay;