import React from "react"; import PropTypes from "prop-types"; import ReactCSSTransitionGroup from "react-addons-css-transition-group"; import { DropTarget } from "react-dnd"; import "./filesystem.scss"; import { Container, NgIf, Icon } from "../../components/"; import { NewThing } from "./thing-new"; import { ExistingThing } from "./thing-existing"; import { FileZone } from "./filezone"; import { t } from "../../locales/"; const HOCDropTargetForFSFile = (Cmp) => { return DropTarget( "__NATIVE_FILE__", {}, (connect, monitor) => ({ connectDropFile: connect.dropTarget(), fileIsOver: monitor.isOver(), }), )(Cmp); }; class FileSystemComponent extends React.PureComponent { render() { return this.props.connectDropFile(
{ t("There is nothing here") }