import * as React from "react"; import * as Strings from "~/common/strings"; import * as Constants from "~/common/constants"; import * as SVG from "~/common/svg"; import * as System from "~/components/system"; import { css } from "@emotion/core"; import { SidebarWarningMessage } from "~/components/core/WarningMessage"; const STYLES_ICONS = css` display: flex; flex-direction: row; justify-content: center; margin: 64px 0; `; export default class SidebarDragDropNotice extends React.Component { state = {}; _handleSubmit = () => { this.props.onSubmit({}); }; _handleCancel = () => { this.props.onCancel(); }; _handleChange = (e) => { this.setState({ [e.target.name]: e.target.value }); }; render() { return ( Drag & drop
Drag and drop a file anywhere on the screen to add it to your data.

Dropping a file while on a slate page will add it to that slate.
); } }