spee.ch/client/build/components/DropzoneInstructionsDisplay/index.js

27 lines
957 B
JavaScript
Raw Normal View History

"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", {
className: "info-message-placeholder info-message--failure",
id: "input-error-file-selection"
}, fileError), _react.default.createElement("p", null, "Drag & drop image or video here to publish"), _react.default.createElement("p", {
className: "fine-print"
}, "OR"), _react.default.createElement("p", {
className: "blue--underlined"
}, "CHOOSE FILE"));
};
var _default = DropzoneInstructionsDisplay;
exports.default = _default;