remove react-dialog as package and include as part of the project

This commit is contained in:
GotPPay
2018-05-23 18:05:41 +02:00
parent 0ec2b0cbe4
commit 4ae32afae6
11 changed files with 452 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
import React from "react";
import PropTypes from "prop-types";
class DialogBody extends React.Component {
render() {
return (
<div className="ui-dialog-content" style={{ "overflowY": "auto" }}>
{this.props.children}
</div>
);
}
}
DialogBody.propTypes = {
children: PropTypes.oneOfType([PropTypes.array, PropTypes.object])
};
export default DialogBody;