feat: Notification provider and service (#1703)

* Create basic structure for Viewport dialog provier and Dialog component

* Implementation of a UIViewportDialogService

* Update viewportDialogProvider docz

* Create example of use of UIViewportDialogService
This commit is contained in:
Gustavo André Lelis authored and James A. Petts committed 2020-05-15 13:59:28 +02:00
1 parent cee09fcf8d
commit e633eb80eb
11 files changed
+395 -23

No files matched your search

@@ -0,0 +1,12 @@
import React from 'react';
import PropTypes from 'prop-types';
const Dialog = ({ children }) => {
return <div className="absolute top-0 left-0">{children}</div>;
};
Dialog.propTypes = {
children: PropTypes.node,
};
export default Dialog;