mirror of
https://github.com/ascribe/onion.git
synced 2024-11-16 01:55:07 +01:00
12 lines
187 B
JavaScript
12 lines
187 B
JavaScript
'use strict';
|
|
|
|
let ModalMixin = {
|
|
onRequestHide(e){
|
|
if (e) {
|
|
e.preventDefault();
|
|
}
|
|
this.props.onRequestHide();
|
|
}
|
|
};
|
|
|
|
export default ModalMixin; |