This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package ca.uwo.csd.cs2212.USERNAME; | |
public class BankAccount { | |
private double balance; | |
public BankAccount(double balance) { | |
this.balance = balance; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************************ | |
1) Have the Container which has the DragDropContext with HTML5Backend | |
*/ | |
... | |
import { DragDropContext } from 'react-dnd'; | |
import HTML5Backend from 'react-dnd/modules/backends/HTML5'; | |
... | |
class Container extends Component { | |
render() { ... } |