\n
\n
\n \n \n {/*
\n {textOverlay} */}\n {children}\n
\n >\n );\n }\n};\n\nHero.defaultProps = {\n textOverlay: null,\n className: null,\n};\n\nHero.propTypes = {\n /** A path to video or a filename for an image (using the Image Component)\n * or an array of objects for multi image slider\n */\n mediaSource: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.arrayOf(\n PropTypes.shape({\n image: PropTypes.string,\n title: PropTypes.string,\n text: PropTypes.string,\n })\n ),\n ]).isRequired,\n /** The type used for the video */\n mediaType: PropTypes.oneOf(Object.values(MEDIA_TYPE)),\n /** Text overlay for the image/video. The hero-text-overlay-container-defaults mixin\n * contains the default CSS for a left side text overlay.\n */\n textOverlay: PropTypes.object,\n /** A custom class name */\n classNames: PropTypes.string,\n};\n\nexport default Hero;\n"],"sourceRoot":""}