2018-06-01 23:53:12 +02:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
|
|
value: true
|
|
|
|
});
|
|
|
|
exports.default = void 0;
|
|
|
|
|
|
|
|
var _react = _interopRequireDefault(require("react"));
|
|
|
|
|
|
|
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
|
|
|
|
|
|
var DropzoneInstructionsDisplay = function DropzoneInstructionsDisplay(_ref) {
|
|
|
|
var fileError = _ref.fileError;
|
|
|
|
return _react.default.createElement("div", {
|
|
|
|
className: "dropzone-instructions-display"
|
|
|
|
}, _react.default.createElement("p", {
|
2018-06-08 17:50:25 +02:00
|
|
|
className: 'large'
|
|
|
|
}, "Drag & drop image or video here to publish"), _react.default.createElement("p", {
|
|
|
|
className: "small"
|
2018-06-01 23:53:12 +02:00
|
|
|
}, "OR"), _react.default.createElement("p", {
|
2018-06-08 17:50:25 +02:00
|
|
|
className: "large underline"
|
|
|
|
}, "CHOOSE FILE"), _react.default.createElement("p", {
|
|
|
|
className: "small form-feedback--failure"
|
|
|
|
}, fileError));
|
2018-06-01 23:53:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
var _default = DropzoneInstructionsDisplay;
|
|
|
|
exports.default = _default;
|