// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See License.txt for license information. import {FormattedMessage} from 'react-intl'; import PropTypes from 'prop-types'; import React from 'react'; import fileOverlayImage from 'images/filesOverlay.png'; import overlayLogoImage from 'images/logoWhite.png'; export default function FileUploadOverlay(props) { var overlayClass = 'file-overlay hidden'; if (props.overlayType === 'right') { overlayClass += ' right-file-overlay'; } else if (props.overlayType === 'center') { overlayClass += ' center-file-overlay'; } return (