Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const React = require("react")
const ReactDOM = require("react-dom")
const Title = require("./Title")
const Layout = require("./Layout")
const _ = require("lodash")
const { CSSTransitionGroup } = require("react-transition-group")
const AddWidgetPanel = require("./AddWidgetPanel")
const { DragDropContext } = require("react-dnd")
const HTML5Backend = require("react-dnd-html5-backend").default
const windowSize = require("react-window-size").default
const defaults = {
widgetWidth: 250,
widgetHeight: 250,
margin: 15
}
class Dashboard extends React.Component {
constructor(props) {
super(props)
this.state = {
editMode: false,
moveMode: false
}
}