/**
*
* ImgPreviewHint
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl';
import P from './P';
function ImgPreviewHint(props) {
let pStyle;
switch (true) {
case props.showWhiteHint:
pStyle = { zIndex: 999, color: '#fff' };
break;
case props.displayHint:
pStyle = { zIndex: 4 };
break;
default:
pStyle = { display: 'none' };
}
const browse = (
e.stopPropagation()}
onDrop={props.onDrop}
>