/**
*
* ImgPreviewHint
*
*/
import React from 'react';
import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl';
import styles from './styles.scss';
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()}>