"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

var _react = _interopRequireDefault(require("react"));

var _propTypes = _interopRequireDefault(require("prop-types"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const PLACE_HOLDER = 'form-place-holder';

class PlaceHolder extends _react.default.Component {
  render() {
    return this.props.show && /*#__PURE__*/_react.default.createElement("div", {
      className: PLACE_HOLDER
    }, /*#__PURE__*/_react.default.createElement("div", null, this.props.text));
  }

}

exports.default = PlaceHolder;
PlaceHolder.propTypes = {
  text: _propTypes.default.string,
  show: _propTypes.default.bool
};
PlaceHolder.defaultProps = {
  text: 'Dropzone',
  show: false
};