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:
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;
|
||||
@@ -0,0 +1,2 @@
|
||||
import Dialog from './Dialog';
|
||||
export default Dialog;
|
||||
@@ -1,6 +1,7 @@
|
||||
import Button from './Button';
|
||||
import ButtonGroup from './ButtonGroup';
|
||||
import DateRange from './DateRange';
|
||||
import Dialog from './Dialog';
|
||||
import EmptyStudies from './EmptyStudies';
|
||||
import Icon from './Icon';
|
||||
import IconButton from './IconButton';
|
||||
@@ -47,6 +48,7 @@ export {
|
||||
Button,
|
||||
ButtonGroup,
|
||||
DateRange,
|
||||
Dialog,
|
||||
EmptyStudies,
|
||||
Icon,
|
||||
IconButton,
|
||||
|
||||
Reference in new issue
Block a user