This commit is contained in:
Belen Curcio
2017-11-07 16:43:58 -03:00
parent 9b98e3cac9
commit a2470fa01b
5 changed files with 112 additions and 38 deletions
+2 -2
View File
@@ -10,12 +10,12 @@ export default class Dialog extends Component {
onCancel: PropTypes.func,
onClose: PropTypes.func,
open: PropTypes.bool,
style: PropTypes.object
style: PropTypes.object,
};
static defaultProps = {
onCancel: (e) => e.preventDefault(),
onClose: (e) => e.preventDefault()
onClose: (e) => e.preventDefault(),
};
componentDidMount(){